From 13d35f70f1c687d9e59c99f74735312061b6faf3 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 20 Apr 2026 15:33:32 +0100 Subject: [PATCH] update database setting --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 76fc51c..b5e5afd 100644 --- a/dockerfile +++ b/dockerfile @@ -16,7 +16,7 @@ COPY . . # Ensure env exists (optional safety for containers) RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi # Required by prisma generate during image build -ARG DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres" +ARG DATABASE_URL="postgres://tvone:tvone_password@db:5432/tvone" ENV DATABASE_URL=$DATABASE_URL # 2. Add the Prisma Schema specifically before generating