Skip to content
Snippets Groups Projects
Commit c94bd7cf authored by Romain de Laage's avatar Romain de Laage Committed by Yassine Doghri
Browse files

build(docker): run automatic database migration in entrypoint

parent 3419369a
No related branches found
No related tags found
No related merge requests found
Pipeline #9712 failed
...@@ -194,5 +194,8 @@ fi ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment