Permalink
Browse files

Update Dockerfiel.production file

Do not install gems from development, test and cucumber groups
  • Loading branch information...
1 parent 9262cb5 commit 02c8665114a5ba99732dc1c2b6bcaee7b984a4fb @zedtux committed Jul 10, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 Dockerfile.production
@@ -20,7 +20,7 @@ RUN apt-get install -y ca-certificates && \
gem install rubygems-update --no-ri --no-rdoc && \
update_rubygems && \
gem install bundler --no-ri --no-rdoc && \
- bundle install --without production --jobs 8 && \
+ bundle install --without development test cucumber --jobs 8 && \
bundle exec rake assets:precompile RAILS_ENV=production && \
apt-get remove --purge -y make gcc g++ && \
apt-get autoremove -y && \

0 comments on commit 02c8665

Please sign in to comment.