fix(deploy): install openssl in base docker image to fix prisma client initialization error during build phase

This commit is contained in:
2026-05-16 14:05:48 -07:00
parent 000d2d171e
commit 814815af82

View File

@@ -4,6 +4,9 @@
FROM node:22-alpine AS base
# Install OpenSSL early for Prisma compatibility
RUN apk add --no-cache openssl
FROM base AS deps
RUN apk add --no-cache libc6-compat python3 make g++
WORKDIR /app
@@ -80,4 +83,3 @@ HEALTHCHECK --interval=10s --timeout=5s --start-period=60s --retries=10 \
CMD wget -qO- http://127.0.0.1:3000/ > /dev/null || exit 1
ENTRYPOINT ["./entrypoint.sh"]