correction deploiement
All checks were successful
Build and Push App / build (push) Successful in 57s

This commit is contained in:
2026-04-18 23:08:45 +02:00
parent 69d0ef08e9
commit a28a75bc48
3 changed files with 408 additions and 172 deletions

View File

@@ -16,7 +16,7 @@ COPY . .
# (Prisma a besoin de DATABASE_URL pour npx prisma generate)
ENV NEXT_TELEMETRY_DISABLED 1
RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" npx prisma generate --schema=prisma/schema.prisma
RUN DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy" DEBUG=prisma:* ./node_modules/.bin/prisma generate --schema=prisma/schema.prisma
RUN npm run build
# Étape 3 : Image de production (Runner)