Use existing bundle path that already declared (#50615)
This commit is contained in:
parent
27fa04975d
commit
d89fb56695
@ -87,7 +87,7 @@ RUN apt-get update -qq && \
|
||||
|
||||
<% end -%>
|
||||
# Copy built artifacts: gems, application
|
||||
COPY --from=build /usr/local/bundle /usr/local/bundle
|
||||
COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
|
||||
COPY --from=build /rails /rails
|
||||
|
||||
# Run and own only the runtime files as a non-root user for security
|
||||
|
2
railties/test/fixtures/Dockerfile.test
vendored
2
railties/test/fixtures/Dockerfile.test
vendored
@ -50,7 +50,7 @@ RUN apt-get update -qq && \
|
||||
rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
||||
# Copy built artifacts: gems, application
|
||||
COPY --from=build /usr/local/bundle /usr/local/bundle
|
||||
COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
|
||||
COPY --from=build /rails /rails
|
||||
|
||||
# Run and own only the runtime files as a non-root user for security
|
||||
|
Loading…
Reference in New Issue
Block a user