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

This commit is contained in:
2026-04-18 22:59:46 +02:00
parent afb1853c59
commit 69d0ef08e9

View File

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