lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.0 vs lib/generators/templates/Dockerfile.erb in dockerfile-rails-1.6.1
- old
+ new
@@ -141,10 +141,10 @@
COPY --from=node /rails/node_modules /rails/node_modules
COPY --from=node /usr/local/node /usr/local/node
ENV PATH=/usr/local/node/bin:$PATH
<% end -%>
-<% elsif using_node? -%>
+<% elsif using_node? || using_bun? -%>
<%= render partial: 'npm_install', locals: {sources: Dir[*%w(.npmrc .yarnrc package.json package-lock.json yarn.lock bun.lockb)]} %>
<% end -%>
# Copy application code
COPY<% if options.link? %> --link<% end %> . .