Skip to content
Snippets Groups Projects
Unverified Commit 2ff19c99 authored by Benson Muite's avatar Benson Muite Committed by GitHub
Browse files

Update bundle commands (#2876)

Stop using deprecated commands
parent a11d58e2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment