Use build-time Prisma database URL
All checks were successful
Build and deploy Worker / build (push) Successful in 1m13s

This commit is contained in:
Ruslan Bakiev
2026-05-08 17:09:39 +07:00
parent b231eb6a27
commit 5b9b2a71d7

View File

@@ -7,7 +7,7 @@ FROM node:22-alpine AS build
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN npm run prisma:generate
RUN DATABASE_URL="postgresql://mapflow:mapflow@localhost:5432/mapflow" npm run prisma:generate
RUN npm run build
FROM node:22-alpine AS runner