Skip to content

Commit 3564580

Browse files
committed
fix: fix prisma generate during docker build
1 parent ac6544f commit 3564580

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ RUN npm install
99
FROM node:22-bullseye as builder
1010
WORKDIR /app
1111

12+
# Temporary environment variable for prisma generate
13+
ENV PRISMA_DB_URL="file:./dev.db"
14+
1215
COPY --from=deps /app/node_modules ./node_modules
1316
COPY --from=deps /app/package.json ./package.json
1417
COPY --from=deps /app/prisma/ ./prisma/

0 commit comments

Comments
 (0)