frankfurter/Dockerfile

13 lines
317 B
Docker
Raw Normal View History

2022-03-07 11:57:31 +01:00
FROM ruby:3.1.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
2021-05-12 14:12:21 +02:00
ADD .ruby-version /app/.ruby-version
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"]