Config for test and development docker containers

This commit is contained in:
Maciej Szlosarczyk 2018-04-13 15:44:19 +03:00
parent b02df5ef02
commit 359e444839
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
7 changed files with 113 additions and 6 deletions

6
docker/docker_dev.sh Executable file
View file

@ -0,0 +1,6 @@
# /bin/sh
docker-compose down
docker-compose build
docker-compose run app rake db:setup:all
docker-compose run app rake db:migrate
docker-compose run app rake dev:prime