build(docker): run automatic database migration in entrypoint
This commit is contained in:
parent
3419369af0
commit
c94bd7cf81
|
@ -194,5 +194,8 @@ fi
|
|||
echo "Using config:"
|
||||
cat /opt/castopod/.env
|
||||
|
||||
cd /opt/castopod
|
||||
php spark castopod:database-update
|
||||
|
||||
/usr/sbin/crond -f /crontab.txt -L /dev/stdout &
|
||||
/usr/local/sbin/php-fpm
|
||||
|
|
Loading…
Reference in New Issue