rack-jruby.dockerfile 284 B

12345678910111213141516
  1. FROM jruby:9.4-jdk17
  2. RUN apt-get update -y && apt-get install netbase -y
  3. WORKDIR /rack
  4. COPY Gemfile ./
  5. RUN bundle config set without 'development test'
  6. RUN bundle install --jobs=8
  7. COPY . .
  8. EXPOSE 8080
  9. CMD bundle exec puma -C config/puma.rb -b tcp://0.0.0.0:8080 -e production