Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/Dockerfile.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ RUN RELEASE=$(awk -F'@' '{print $2}' /home/meteor/.meteor/release) && curl https
<% } -%>
# Install node modules
COPY<% if (options.link) { %> --link<% } %> <%= packageFiles.join(' ') %> ./
<% if (trpc && prisma) { -%>
<% if (nextjs && prisma) { -%>
COPY<% if (options.link) { %> --link<% } %> prisma .
<% } -%>
RUN <%- buildCache %><%= packagerInstall %>
Expand All @@ -99,7 +99,7 @@ RUN meteor npm install
<% } -%>
<% if (prisma) { -%>
# Generate Prisma Client
<% if (!trpc) { -%>
<% if (!nextjs) { -%>
COPY<% if (options.link) { %> --link<% } %> prisma .
<% } -%>
RUN <%= npx %> prisma generate
Expand Down
2 changes: 1 addition & 1 deletion test/base/defer-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ RUN apt-get update -qq && \

# Install node modules
COPY package-lock.json package.json ./
COPY prisma .
RUN npm ci

# Generate Prisma Client
COPY prisma .
RUN npx prisma generate

# Copy application code
Expand Down
Loading