rack-jruby.dockerfile 290 B

123456789101112131415161718
  1. FROM jruby:10.0
  2. RUN apt-get update -y && apt-get install netbase -y
  3. WORKDIR /rack
  4. COPY Gemfile* ./
  5. RUN bundle config set with 'puma'
  6. RUN bundle install --jobs=8
  7. COPY . .
  8. EXPOSE 8080
  9. CMD config/java_tune.sh
  10. CMD bundle exec puma -C config/puma.rb -b tcp://0.0.0.0:8080 -e production