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

123456789
  1. FROM ruby:2.4
  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. CMD bundle exec unicorn -c config/mri_unicorn.rb -o 0.0.0.0 -p 8080 -E production