save
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-19 22:29:48 +01:00
parent 87cf0d205f
commit 6775ed2f91
+7 -2
View File
@@ -18,8 +18,13 @@ RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
ARG DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres" ARG DATABASE_URL="postgresql://postgres:postgres@localhost:5432/postgres"
ENV DATABASE_URL=$DATABASE_URL ENV DATABASE_URL=$DATABASE_URL
# Generate Prisma Client for the Linux environment # 2. Add the Prisma Schema specifically before generating
RUN npx prisma generate # This ensures the generator has the latest schema
COPY prisma ./prisma/
# 3. Generate Prisma Client
# We use 'pnpm exec' to ensure we use the local version synced with your node_modules
RUN pnpm exec prisma generate
# Build NestJS # Build NestJS
RUN pnpm build RUN pnpm build