chore(docker): update Dockerfile for Prisma build time environment variables

This commit is contained in:
Fatih Kadir Akın
2026-01-05 23:06:00 +03:00
parent 8baab81fe1
commit 44003d89ef
+2
View File
@@ -24,7 +24,9 @@ COPY . .
RUN rm -rf .github .claude packages .git
# Generate Prisma client and build
# DATABASE_URL is needed at build time for Prisma, but not used
ENV NEXT_TELEMETRY_DISABLED=1
ENV DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"
RUN npx prisma generate && npm run build
# Production image