File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/rails/generators/rails/app/templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ RUN apt-get update -qq && \
87
87
88
88
<% end -%>
89
89
# Copy built artifacts: gems, application
90
- COPY --from=build /usr/local/bundle /usr/local/bundle
90
+ COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
91
91
COPY --from=build /rails /rails
92
92
93
93
# Run and own only the runtime files as a non-root user for security
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ RUN apt-get update -qq && \
50
50
rm -rf /var/lib/apt/lists /var/cache/apt/archives
51
51
52
52
# Copy built artifacts: gems, application
53
- COPY --from=build /usr/local/bundle /usr/local/bundle
53
+ COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
54
54
COPY --from=build /rails /rails
55
55
56
56
# Run and own only the runtime files as a non-root user for security
You can’t perform that action at this time.
0 commit comments