From 09dce6e9e4b078607b7cffc9e2798496e7712a95 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Sun, 19 Apr 2026 20:12:46 +0100 Subject: [PATCH] generate .env --- dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 9ecda3c..2954f8d 100644 --- a/dockerfile +++ b/dockerfile @@ -13,8 +13,9 @@ RUN pnpm install --frozen-lockfile COPY . . # Required by prisma generate during image build -ARG DATABASE_URL="postgres://tvone:tvone_password@db:5432/tvone" -ENV DATABASE_URL=$DATABASE_URL +echo "DATABASE_URL=postgres://tvone:tvone_password@db:5432/tvone" > .env +echo "PORT=3000" >> .env +echo "NODE_ENV=production" >> .env # Build NestJS RUN pnpm build