Skip to content

Commit

Permalink
Use non-depricated way to specify the path for bundle installs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhoads committed Apr 22, 2022
1 parent 2c8a579 commit 3906d9c
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 @@ -50,7 +50,9 @@ RUN mkdir -p vendor/bundle && \
chown -R app:app . && \
chmod -R 755 . && \
gem update --system && \
/sbin/setuser app bundle install --path vendor/bundle
gem install bundler:2.3.10 && \
/sbin/setuser app bundle config set --local path 'vendor/bundle' && \
/sbin/setuser app bundle install

# Copy webapp folder
COPY . /home/app/webapp/
Expand Down

0 comments on commit 3906d9c

Please sign in to comment.