There was an error while loading. Please reload this page.
1 parent 45ef454 commit 8a367beCopy full SHA for 8a367be
1 file changed
Dockerfile
@@ -3,7 +3,7 @@ FROM node:18-alpine AS base
3
# Install dependencies only when needed
4
FROM base AS deps
5
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
6
-RUN apk add --no-cache libc6-compat
+RUN apk add --no-cache libc6-compat openssl1.1-compat
7
WORKDIR /app
8
9
COPY package.json pnpm-lock.yaml* ./
@@ -23,6 +23,9 @@ WORKDIR /app
23
24
ENV NODE_ENV production
25
26
+# Install OpenSSL for Prisma in production
27
+RUN apk add --no-cache openssl1.1-compat
28
+
29
RUN addgroup --system --gid 1001 nodejs
30
RUN adduser --system --uid 1001 nextjs
31
0 commit comments