Skip to content

Commit

Permalink
copy prisma folder in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
cheehongw committed Nov 13, 2023
1 parent d5d8a64 commit b4f8b1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user_service/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN npm run build
FROM node:18-alpine
WORKDIR /usr/src/app
COPY package*.json ./
COPY prisma ./
RUN npm ci --only=production
COPY --from=builder /app/node_modules/@prisma/client /app/node_modules/@prisma/client
COPY --from=builder /app/dist ./dist
Expand Down

0 comments on commit b4f8b1c

Please sign in to comment.