Make sure ruby-version is copied in time
Some checks failed
Ruby CI / test (pull_request) Successful in 20s
Deploy / deploy (push) Failing after 54s

This commit is contained in:
Andrew Tomaka 2025-06-16 22:58:45 -04:00
parent 61916a8a27
commit d1d141d65f
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -33,7 +33,7 @@ RUN apt-get update -qq && \
rm -rf /var/lib/apt/lists /var/cache/apt/archives
# Install application gems
COPY Gemfile Gemfile.lock ./
COPY Gemfile Gemfile.lock .ruby-version ./
RUN bundle install && \
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
bundle exec bootsnap precompile --gemfile