diff --git a/docker/startup.sh b/docker/startup.sh index 5fa32d1a9..6b276f117 100644 --- a/docker/startup.sh +++ b/docker/startup.sh @@ -48,18 +48,14 @@ then sed -i "s/^upload_max_filesize.*/upload_max_filesize = ${PHP_UPLOAD_LIMIT}M/" /etc/php/*/apache2/php.ini fi - # If the Oauth DB files are not present copy the vendor files over to the db migrations if [ ! -f "/var/www/html/database/migrations/*create_oauth*" ] then cp -ax /var/www/html/vendor/laravel/passport/database/migrations/* /var/www/html/database/migrations/ fi -exec supervisord -c /supervisord.conf - php artisan migrate --force php artisan config:clear php artisan config:cache -. /etc/apache2/envvars -exec apache2 -DNO_DETACH < /dev/null +exec supervisord -c /supervisord.conf