fix: add libstdc++ to runtime image for bun compiled binary
All checks were successful
Build & Release / build (push) Successful in 1m52s

This commit is contained in:
Ryan Moon
2026-04-03 19:45:43 -05:00
parent ff2e4586f3
commit 1f8002629f

View File

@@ -21,7 +21,7 @@ RUN bun build src/main.ts --compile --outfile /app/server \
--define "process.env.APP_VERSION='${APP_VERSION}'"
FROM alpine:3.21
RUN addgroup -S app && adduser -S app -G app
RUN apk add --no-cache libstdc++ && addgroup -S app && adduser -S app -G app
WORKDIR /app
COPY --from=build /app/server ./server
COPY --from=build /app/packages/backend/src/db/migrations ./migrations