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

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