Added schema update to build process

This commit is contained in:
Kevin Frantz 2018-09-06 23:02:52 +02:00
parent 22bbbb4e89
commit 989de39459
2 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,3 @@
cp .env.dist docker-symfony/.env
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose build && docker-compose up -d)
bash $(dirname $(readlink -f ${0}))/schema-update.sh

View File

@ -0,0 +1 @@
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose exec php php bin/console doctrine:schema:update --force)