grape.dockerfile 207 B

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