Skip to content

Commit

Permalink
use bun for prisma generate
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Sep 16, 2023
1 parent 98c6ca0 commit 44b8035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Dockerfile.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ RUN <%- buildCache %><%= packagerInstall %>
<% if (prisma) { -%>
# Generate Prisma Client
COPY<% if (options.link) { %> --link<% } %> prisma .
RUN npx prisma generate
RUN <%= packager === "bun" ? 'bunx' : 'npx' %> prisma generate
<% } -%>
# Copy application code
Expand Down

0 comments on commit 44b8035

Please sign in to comment.