diff --git a/Dockerfile b/Dockerfile index 56af0b0..f7e830b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN apk update && apk upgrade && \ COPY Gemfile Gemfile.lock . -RUN gem install bundler:2.4.18 && \ +RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)" && \ bundle config set without 'development test' && \ bundle install