Use build-time Prisma database URL
All checks were successful
Build and deploy Worker / build (push) Successful in 1m13s
All checks were successful
Build and deploy Worker / build (push) Successful in 1m13s
This commit is contained in:
@@ -7,7 +7,7 @@ FROM node:22-alpine AS build
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run prisma:generate
|
RUN DATABASE_URL="postgresql://mapflow:mapflow@localhost:5432/mapflow" npm run prisma:generate
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:22-alpine AS runner
|
FROM node:22-alpine AS runner
|
||||||
|
|||||||
Reference in New Issue
Block a user