Hacker News new | ask | show | jobs
by bradgessler 982 days ago
If you want to automatically generate Dockerfiles for more versions of Rails (not just the latest) that detect OS packages that need to be installed from gems present in your Gemfile, check out https://github.com/fly-apps/dockerfile-rails

You can install it in your rails app by running:

1. bundle add dockerfile-rails

2. rails g dockerfile