Rails, Docker and Webpacker is an awesome combination, for instance to develop React/Rails apps with. This demo app uses Rails 5, Webpacker and Docker. In development mode, it uses webpack-dev-server for live Javascript reloading. As database it uses PostgreSQL.
docker-compose build
docker-compose run web scripts/wait-for-it.sh db:5432 -- "rake db:create db:migrate"
docker-compose up
docker build -t docker-rails-demo .
Now open http://localhost:3000 and look at your Javascript console to see messages
Brought to you by Soulmates.ai
Released under the MIT License