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

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