fix start command

This commit is contained in:
2026-05-18 23:42:20 -05:00
parent df742ac5ea
commit 6fb93f04db

View File

@@ -4,7 +4,7 @@
"builder": "RAILPACK" "builder": "RAILPACK"
}, },
"deploy": { "deploy": {
"startCommand": "php artisan serve --host=0.0.0.0 --port=$PORT", "startCommand": "php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=${PORT:-8000}",
"healthcheckPath": "/health", "healthcheckPath": "/health",
"healthcheckTimeout": 300, "healthcheckTimeout": 300,
"restartPolicyType": "ON_FAILURE", "restartPolicyType": "ON_FAILURE",