From 4d45bca5483f948af774c6ab7d4fbd3c88d1b2e8 Mon Sep 17 00:00:00 2001 From: Eric0801 <33929918+Eric0801@users.noreply.github.com> Date: Tue, 21 Oct 2025 00:24:22 +0800 Subject: [PATCH] debug: check if assets files exist in container --- railway.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway.json b/railway.json index 64a2e9b..6a81a07 100644 --- a/railway.json +++ b/railway.json @@ -5,7 +5,7 @@ "dockerfilePath": "Dockerfile" }, "deploy": { - "startCommand": "gunicorn -w 2 -b 0.0.0.0:8000 --timeout 120 --chdir /flask main:app", + "startCommand": "cd /flask && ls -la assets*.json && gunicorn -w 2 -b 0.0.0.0:8000 --timeout 120 main:app", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }