Skip to content

Commit

Permalink
configure Bundler to avoid deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Jan 12, 2023
1 parent 11acb19 commit e6a13c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit e6a13c8

Please sign in to comment.