Install openssl in server runtime image
Some checks failed
Build & Push / Build Server (push) Successful in 50s
Build & Push / Build Client (push) Has been cancelled

Prisma's schema engine requires libssl on Alpine.
Without it, migrate deploy fails with a JSON parse error
wrapping an ELF load failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-30 19:58:41 -04:00
parent 8b0273e70b
commit 3dce53f1dc

View File

@@ -7,6 +7,7 @@ RUN npx prisma generate
RUN npm run build RUN npm run build
FROM node:22-alpine FROM node:22-alpine
RUN apk add --no-cache openssl
WORKDIR /app WORKDIR /app
COPY --from=build /app/dist ./dist COPY --from=build /app/dist ./dist
COPY --from=build /app/node_modules ./node_modules COPY --from=build /app/node_modules ./node_modules