rails.dockerfile 238 B

123456789
  1. FROM tfb/ruby-2.4:latest
  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