ffs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Christoph Haas 2026-02-07 17:09:31 +01:00
parent 4b9c0c72e5
commit 8a00785bfc

View file

@ -7,9 +7,6 @@
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html # For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
ARG COMMIT_SHA
ARG BUILD_DATE
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version # Make sure RUBY_VERSION matches the Ruby version in .ruby-version
ARG RUBY_VERSION=3.2.4 ARG RUBY_VERSION=3.2.4
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
@ -71,6 +68,9 @@ RUN rm -rf node_modules
# Final stage for app image # Final stage for app image
FROM base FROM base
ARG COMMIT_SHA
ARG BUILD_DATE
# Copy built artifacts: gems, application # Copy built artifacts: gems, application
COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}" COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}"
COPY --from=build /rails /rails COPY --from=build /rails /rails