correction dockerfile
All checks were successful
Build and Push App / build (push) Successful in 32s
All checks were successful
Build and Push App / build (push) Successful in 32s
This commit is contained in:
@@ -16,7 +16,7 @@ COPY . .
|
|||||||
# (Prisma a besoin de DATABASE_URL pour npx prisma generate)
|
# (Prisma a besoin de DATABASE_URL pour npx prisma generate)
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
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
|
RUN npm run build
|
||||||
|
|
||||||
# Étape 3 : Image de production (Runner)
|
# Étape 3 : Image de production (Runner)
|
||||||
|
|||||||
Reference in New Issue
Block a user