security: remove hardcoded build-time DATABASE_URL and enforce environment-only configuration

This commit is contained in:
AyrisAI
2026-04-04 05:17:15 +03:00
parent 4c30962747
commit add36c2619
2 changed files with 12 additions and 9 deletions

View File

@@ -20,7 +20,6 @@ COPY . .
# Environment variables must be present at build time for Next.js
# Coolify will provide these, but we can set defaults
ENV NEXT_TELEMETRY_DISABLED=1
ENV DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"
# Generate Prisma Client
RUN npx prisma generate