diff --git a/Dockerfile b/Dockerfile index 2d5de682ce..bcc69b1cb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,9 @@ WORKDIR $APP_DIR # Bundle install throw errors if Gemfile has been modified since Gemfile.lock COPY Gemfile* ./ RUN bundle config --local frozen 1 && \ - bundle install --deployment --without development test + bundle config set deployment 'true' && \ + bundle config set without 'development test' && \ + bundle install # App code COPY . .