From 7d10821f7aeab51d3cdd6c5d24a4e148fb5c9970 Mon Sep 17 00:00:00 2001 From: Erik Date: Wed, 26 Nov 2025 14:28:45 -0300 Subject: [PATCH] =?UTF-8?q?Fix:=20usar=20openssl=20ao=20inv=C3=A9s=20de=20?= =?UTF-8?q?openssl1.1-compat=20no=20Alpine=203.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8aa1740..f133ac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,11 @@ # Multi-stage build for Next.js application FROM node:20-alpine AS base +# Install OpenSSL compatibility +RUN apk add --no-cache libc6-compat openssl + # Install dependencies only when needed FROM base AS deps -RUN apk add --no-cache libc6-compat WORKDIR /app # Copy package files @@ -30,9 +32,6 @@ WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 -# Install OpenSSL for Prisma -RUN apk add --no-cache openssl1.1-compat - RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs