fix: prisma generate usa DATABASE_URL dummy en build (no necesita conexión real)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 18:52:47 -05:00
co-authored by Claude Sonnet 4.6
parent 21d7707bc0
commit 8c05b09f28
+1 -1
View File
@@ -3,7 +3,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npx prisma generate
RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" npx prisma generate
RUN npm run build
FROM node:22-alpine AS runner