fix: install prisma@5 globally in runner stage for entrypoint db push

This commit is contained in:
2026-02-18 01:35:41 +00:00
parent bc17ee661f
commit 7c3ff5e280

View File

@@ -26,8 +26,8 @@ RUN npm run build
FROM base AS runner FROM base AS runner
WORKDIR /app WORKDIR /app
# Install OpenSSL 3.x so Prisma can load its query engine # Install OpenSSL 3.x and Prisma CLI at the correct version
RUN apk add --no-cache openssl RUN apk add --no-cache openssl && npm install -g prisma@5
ENV NODE_ENV=production ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1 ENV NEXT_TELEMETRY_DISABLED=1