rename
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-04-19 20:18:09 +01:00
parent 09dce6e9e4
commit 7bf4579b5a
2 changed files with 3 additions and 4 deletions
View File
+3 -4
View File
@@ -12,10 +12,9 @@ RUN pnpm install --frozen-lockfile
# Copy source # Copy source
COPY . . COPY . .
# Required by prisma generate during image build # Ensure env exists (optional safety for containers)
echo "DATABASE_URL=postgres://tvone:tvone_password@db:5432/tvone" > .env RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
echo "PORT=3000" >> .env
echo "NODE_ENV=production" >> .env
# Build NestJS # Build NestJS
RUN pnpm build RUN pnpm build