frankfurter/Dockerfile
Hakan Ensari 6feaa0c372 Do housekeeping
- Bump ruby to 3.0.1
- Upgrade gems
- Add suggested rubocop rake plugin
- Fix rubocop warnings
- Add byebug and pry
2021-05-11 12:26:01 +01:00

12 lines
280 B
Docker

FROM ruby:3.0.1
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 ["bundle", "exec", "unicorn", "-c", "./config/unicorn.rb"]