Instalar openssl en la imagen runner (warning de Prisma CLI)

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
2026-06-10 02:26:43 -06:00
co-authored by Claude Fable 5
parent 69c74faabb
commit 4ee87f1a26
+4
View File
@@ -25,6 +25,10 @@ FROM base AS runner
ENV NODE_ENV=production ENV NODE_ENV=production
ENV PORT=3000 ENV PORT=3000
# openssl: el CLI de Prisma lo necesita para detectar la versión de libssl
RUN apt-get update -y && apt-get install -y --no-install-recommends openssl \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/.next ./.next COPY --from=builder /app/.next ./.next
COPY --from=builder /app/public ./public COPY --from=builder /app/public ./public