Comment on Rails 7.1: Dockerfiles, BYO Authentication, More Async Queries, and MoreComments−bradgessler2yIf 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-railsYou can install it in your rails app by running:1. bundle add dockerfile-rails2. rails g dockerfile
Comments
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