mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
13 lines
317 B
Docker
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"]
|