rails.dockerfile 227 B

123456789
  1. FROM ruby:2.6
  2. ADD ./ /rails
  3. WORKDIR /rails
  4. RUN bundle install --jobs=4 --gemfile=/rails/Gemfile --path=/rails/rails/bundle
  5. CMD DB_HOST=tfb-database bundle exec puma -C config/mri_puma.rb -b tcp://0.0.0.0:8080 -e production