grape.dockerfile 242 B

12345678910111213
  1. FROM ruby:3.3-rc
  2. ENV RUBY_YJIT_ENABLE=1
  3. ADD ./ /grape
  4. WORKDIR /grape
  5. RUN bundle install --jobs=4 --gemfile=/grape/Gemfile --path=/grape/grape/bundle
  6. EXPOSE 8080
  7. CMD bundle exec puma -C config/puma.rb -b tcp://0.0.0.0:8080 -e production