mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
13 lines
317 B
Docker
13 lines
317 B
Docker
FROM ruby:3.2.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"]
|