Skip to content

Commit

Permalink
don't bother adding node to path if using bun
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Sep 16, 2023
1 parent d82d560 commit 56d0373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/templates/Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ ENV PATH=/usr/local/bun/bin:$PATH
# Copy node modules
COPY --from=node /rails/node_modules /rails/node_modules
COPY --from=node /usr/local/node /usr/local/node
<% end -%>
ENV PATH=/usr/local/node/bin:$PATH
<% end -%>
<% elsif using_node? -%>
<%= render partial: 'npm_install', locals: {sources: Dir[*%w(.npmrc .yarnrc package.json package-lock.json yarn.lock bun.lockb)]} %>
Expand Down

0 comments on commit 56d0373

Please sign in to comment.