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