frankfurter/Dockerfile

12 lines
280 B
Docker
Raw Normal View History

2020-04-01 22:10:11 +02:00
FROM ruby:2.7.1
2016-04-06 00:49:19 +02:00
2016-04-11 15:28:22 +02:00
RUN mkdir /app
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
2019-04-25 17:49:27 +02:00
RUN gem install bundler
2019-12-20 02:03:45 +01:00
RUN bundle config set without "development test"
RUN bundle install --jobs=8
2016-04-11 15:28:22 +02:00
ADD . /app
2019-12-20 02:04:05 +01:00
CMD ["bundle", "exec", "unicorn", "-c", "./config/unicorn.rb"]