Fix various Dockerfile errors #67

Merged
atomaka merged 3 commits from fix-dockerfile-ruby into main 2025-06-16 23:09:56 -04:00
Showing only changes of commit d1d141d65f - Show all commits

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