Position composer dump correctly

This commit is contained in:
David Bomba
2023-07-07 16:43:06 +10:00
parent 4fd6ca33c8
commit a9a6b72c7a

View File

@@ -25,6 +25,7 @@ docker_process_init_files() {
done
}
composer dump-autoload
php artisan config:cache
php artisan optimize
php artisan ninja:react
@@ -36,7 +37,6 @@ if [ "$DB_READY" != "1" ]; then
in_error "Error connecting to DB"
fi
composer dump-autoload
php artisan migrate --force
# If first IN run, it needs to be initialized