grape.dockerfile 220 B

1234567891011
  1. FROM ruby:3.1
  2. ADD ./ /grape
  3. WORKDIR /grape
  4. RUN bundle install --jobs=4 --gemfile=/grape/Gemfile --path=/grape/grape/bundle
  5. EXPOSE 8080
  6. CMD bundle exec puma -t 8:32 -w 8 --preload -b tcp://0.0.0.0:8080 -e production