env
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-19 21:39:51 +01:00
parent bcb822fb17
commit 87cf0d205f
+3
View File
@@ -14,6 +14,9 @@ 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
ARG DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
ENV DATABASE_URL=$DATABASE_URL
# Generate Prisma Client for the Linux environment # Generate Prisma Client for the Linux environment
RUN npx prisma generate RUN npx prisma generate