frankfurter/Dockerfile
2024-10-03 22:22:42 +02:00

13 lines
317 B
Docker

FROM ruby:3.3.5
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"]