From abb1fae70db670e3625ea183a4774ddd5e5c482f Mon Sep 17 00:00:00 2001 From: ykiakao Date: Tue, 19 May 2026 00:00:03 -0500 Subject: [PATCH] fix start command --- railway.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/railway.json b/railway.json index 117d8cd..a323fc4 100644 --- a/railway.json +++ b/railway.json @@ -4,10 +4,11 @@ "builder": "RAILPACK" }, "deploy": { - "startCommand": "php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=${PORT:-8000}", + "preDeployCommand": "php artisan migrate --force", + "startCommand": "php artisan serve --host=0.0.0.0 --port=${PORT:-8000}", "healthcheckPath": "/health", "healthcheckTimeout": 600, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 } -} +} \ No newline at end of file