mirror of
https://github.com/PeterMaquiran/tvone-api.git
synced 2026-04-23 18:05:50 +00:00
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY . .
|
|||||||
# Ensure env exists (optional safety for containers)
|
# Ensure env exists (optional safety for containers)
|
||||||
RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
|
RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
|
||||||
# Required by prisma generate during image build
|
# 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
|
ENV DATABASE_URL=$DATABASE_URL
|
||||||
|
|
||||||
# 2. Add the Prisma Schema specifically before generating
|
# 2. Add the Prisma Schema specifically before generating
|
||||||
|
|||||||
Reference in New Issue
Block a user