From c59e41429bc2658d2fd78689eaefecd00029c089 Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 10 Jul 2025 00:21:53 -0700 Subject: [PATCH] chore: fix openssl --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f49054a..ed91042 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:18-alpine AS base # Install dependencies only when needed FROM base AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. -RUN apk add --no-cache libc6-compat openssl1.1-compat +RUN apk add --no-cache libc6-compat openssl openssl-dev WORKDIR /app COPY package.json pnpm-lock.yaml* ./ @@ -24,7 +24,7 @@ WORKDIR /app ENV NODE_ENV production # Install OpenSSL for Prisma in production -RUN apk add --no-cache openssl1.1-compat +RUN apk add --no-cache openssl RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs