fix: install prisma@5 globally in runner stage for entrypoint db push
This commit is contained in:
@@ -26,8 +26,8 @@ RUN npm run build
|
||||
FROM base AS runner
|
||||
WORKDIR /app
|
||||
|
||||
# Install OpenSSL 3.x so Prisma can load its query engine
|
||||
RUN apk add --no-cache openssl
|
||||
# Install OpenSSL 3.x and Prisma CLI at the correct version
|
||||
RUN apk add --no-cache openssl && npm install -g prisma@5
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
Reference in New Issue
Block a user