We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a367be commit c59e414Copy full SHA for c59e414
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 openssl1.1-compat
+RUN apk add --no-cache libc6-compat openssl openssl-dev
7
WORKDIR /app
8
9
COPY package.json pnpm-lock.yaml* ./
@@ -24,7 +24,7 @@ WORKDIR /app
24
ENV NODE_ENV production
25
26
# Install OpenSSL for Prisma in production
27
-RUN apk add --no-cache openssl1.1-compat
+RUN apk add --no-cache openssl
28
29
RUN addgroup --system --gid 1001 nodejs
30
RUN adduser --system --uid 1001 nextjs
0 commit comments