From 814815af82be69ad6cf3c0e14c76e6aef316631e Mon Sep 17 00:00:00 2001 From: mawkone Date: Sat, 16 May 2026 14:05:48 -0700 Subject: [PATCH] fix(deploy): install openssl in base docker image to fix prisma client initialization error during build phase --- vibn-frontend/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vibn-frontend/Dockerfile b/vibn-frontend/Dockerfile index 38913424..4a835c6f 100644 --- a/vibn-frontend/Dockerfile +++ b/vibn-frontend/Dockerfile @@ -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"] -