From 8a00785bfc97a2adfd4a4f877cd0d48ee5fab338 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 7 Feb 2026 17:09:31 +0100 Subject: [PATCH] ffs --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78aad06..1b5078f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,6 @@ # 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 ARG RUBY_VERSION=3.2.4 FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base @@ -71,6 +68,9 @@ RUN rm -rf node_modules # Final stage for app image FROM base +ARG COMMIT_SHA +ARG BUILD_DATE + # Copy built artifacts: gems, application COPY --from=build "${BUNDLE_PATH}" "${BUNDLE_PATH}" COPY --from=build /rails /rails