diff --git a/Dockerfile b/Dockerfile index ad0a5e2e..fee70126 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,9 @@ COPY Gemfile* ./ COPY Gemfile Gemfile.lock $RAILS_ROOT/ RUN bundle config --global frozen 1 \ - && bundle install --deployment --without development:test:assets -j4 --path=vendor/bundle \ + && bundle config set deployment 'true' \ + && bundle config set without 'development:test:assets' \ + && bundle install -j4 --path=vendor/bundle \ && rm -rf vendor/bundle/ruby/2.7.0/cache/*.gem \ && find vendor/bundle/ruby/2.7.0/gems/ -name "*.c" -delete \ && find vendor/bundle/ruby/2.7.0/gems/ -name "*.o" -delete