fix(deploy): install openssl in base docker image to fix prisma client initialization error during build phase
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user