Sep 12, 2016, 16:00

Rails migration in docker? Easy peasy

Now I understand why should I use old good Makefile to build docker containers for production.

Because of this:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml run --rm web bundle exec rake db:migrate
Share