The command after installing the gem is: rails g dockerfile --parallel --nginx --compose - I only added Solr to the docker-compose, fixed a pids problem, removed .yarn, and Pulfalight was building a prod-ready container.
Much of the customization was to get docker-compose to work, which seemed useful for testing the image locally.
This is generating Docker via https://github.com/fly-apps/dockerfile-rails
The command after installing the gem is:
rails g dockerfile --parallel --nginx --compose
- I only added Solr to the docker-compose, fixed a pids problem, removed.yarn
, and Pulfalight was building a prod-ready container.Much of the customization was to get
docker-compose
to work, which seemed useful for testing the image locally.