forked from External/greenlight
parent
a11d58e254
commit
2ff19c998d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue