frankfurter/Dockerfile
2021-05-12 13:12:21 +01:00

13 lines
317 B
Docker

FROM ruby:3.0.1
RUN mkdir /app
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
ADD .ruby-version /app/.ruby-version
RUN gem install bundler
RUN bundle config set without "development test"
RUN bundle install --jobs=8
ADD . /app
CMD ["bundle", "exec", "unicorn", "-c", "./config/unicorn.rb"]