Skip to content

Commit

Permalink
update rubygem to latest version in dockerfile (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyis991105 committed Jan 30, 2022
1 parent 258b8c7 commit 6cad6d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RUN chown app:app Gemfile Gemfile.lock

# Prepare folders
USER app
# Update rubygem to latest version
RUN gem update --system
# Specify bundler version
RUN gem install bundler -v $(tail -n1 Gemfile.lock)
RUN bundle install
Expand Down

0 comments on commit 6cad6d1

Please sign in to comment.