rack-sequel-postgres-unicorn-mri.dockerfile 298 B

1234567891011121314
  1. FROM ruby:3.3
  2. ADD ./ /rack-sequel
  3. WORKDIR /rack-sequel
  4. RUN bundle install --jobs=4 --gemfile=/rack-sequel/Gemfile --path=/rack-sequel/rack-sequel/bundle
  5. ENV DBTYPE=postgresql
  6. ENV RUBY_YJIT_ENABLE=1
  7. EXPOSE 8080
  8. CMD bundle exec unicorn -c config/mri_unicorn.rb -o 0.0.0.0 -p 8080 -E production