Skip to content

Commit

Permalink
chore: fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoPorfirio01 committed Dec 31, 2024
1 parent b4dae51 commit c9bab66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ COPY --from=builder /app/apps/api/package.json ./apps/api/
COPY --from=builder /app/apps/api/dist ./apps/api/dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/apps/api/node_modules ./apps/api/node_modules
COPY --from=builder /app/apps/api/node_modules/.prisma ./apps/api/node_modules/.prisma

COPY --from=builder /app/apps/api/prisma ./apps/api/prisma
RUN cd apps/api && pnpm prisma generate

USER appuser

Expand Down

0 comments on commit c9bab66

Please sign in to comment.