Fix: install bundler 2.4.21 to match Gemfile.lock
This commit is contained in:
@@ -13,6 +13,9 @@ RUN apt-get update -qq && apt-get install -y --no-install-recommends \
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install correct bundler version (must match Gemfile.lock BUNDLED WITH)
|
||||||
|
RUN gem install bundler:2.4.21
|
||||||
|
|
||||||
# Install gems
|
# Install gems
|
||||||
COPY Gemfile Gemfile.lock ./
|
COPY Gemfile Gemfile.lock ./
|
||||||
RUN bundle install --deployment --without development test --jobs 4
|
RUN bundle install --deployment --without development test --jobs 4
|
||||||
|
|||||||
Reference in New Issue
Block a user