Install new Bundler in Dockerfile

This commit is contained in:
Hakan Ensari 2019-04-25 16:49:27 +01:00
parent 7e880dd7e4
commit d50a96ede8

View File

@ -4,6 +4,7 @@ RUN mkdir /app
WORKDIR /app WORKDIR /app
ADD Gemfile /app/Gemfile ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock ADD Gemfile.lock /app/Gemfile.lock
RUN gem install bundler
RUN bundle install --jobs=8 --without development test RUN bundle install --jobs=8 --without development test
ADD . /app ADD . /app
CMD ["unicorn", "-c", "./config/unicorn.rb"] CMD ["unicorn", "-c", "./config/unicorn.rb"]