diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 027a74c..99f8244 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,6 +1,9 @@ # Build stage FROM node:20-alpine AS builder +# Install OpenSSL for Prisma +RUN apk add --no-cache libc6-compat openssl + WORKDIR /app # Copiar arquivos de dependências @@ -22,6 +25,9 @@ RUN npm run build # Production stage FROM node:20-alpine AS runner +# Install OpenSSL for Prisma +RUN apk add --no-cache libc6-compat openssl + WORKDIR /app # Criar usuário não-root