diff --git a/lib/generators/templates/Dockerfile.erb b/lib/generators/templates/Dockerfile.erb index 0bff896..baf524f 100644 --- a/lib/generators/templates/Dockerfile.erb +++ b/lib/generators/templates/Dockerfile.erb @@ -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)]} %>