sinatra-sequel-postgres-unicorn-mri.dockerfile 289 B

123456789101112
  1. FROM ruby:2.4
  2. ADD ./ /sinatra-sequel
  3. WORKDIR /sinatra-sequel
  4. RUN bundle install --jobs=4 --gemfile=/sinatra-sequel/Gemfile --path=/sinatra-sequel/sinatra-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