From 1f8002629f16cacf09d9f78156fdb6bab58d330a Mon Sep 17 00:00:00 2001 From: Ryan Moon Date: Fri, 3 Apr 2026 19:45:43 -0500 Subject: [PATCH] fix: add libstdc++ to runtime image for bun compiled binary --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c668e0..a54bb41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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