frankfurter/Dockerfile
2019-12-20 01:04:22 +00:00

12 lines
262 B
Docker

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