roda-sequel-postgres-unicorn-mri.dockerfile 267 B

123456789101112131415
  1. FROM ruby:3.3-rc
  2. ADD ./ /roda-sequel
  3. WORKDIR /roda-sequel
  4. ENV BUNDLE_FORCE_RUBY_PLATFORM=true
  5. ENV RUBY_YJIT_ENABLE=1
  6. RUN bundle install --jobs=8
  7. ENV DBTYPE=postgresql
  8. EXPOSE 8080
  9. CMD bundle exec unicorn -c config/mri_unicorn.rb -o 0.0.0.0 -p 8080 -E production