mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
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:"
|
echo "Using config:"
|
||||||
cat /opt/castopod/.env
|
cat /opt/castopod/.env
|
||||||
|
|
||||||
|
cd /opt/castopod
|
||||||
|
php spark castopod:database-update
|
||||||
|
|
||||||
/usr/sbin/crond -f /crontab.txt -L /dev/stdout &
|
/usr/sbin/crond -f /crontab.txt -L /dev/stdout &
|
||||||
/usr/local/sbin/php-fpm
|
/usr/local/sbin/php-fpm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user