From b8cc6f1209fcdc0c490eaa4a34b7574d66eba0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=9D=80=EC=84=9D?= Date: Sat, 28 Feb 2026 11:20:16 +0900 Subject: [PATCH] fix(deploy): wrap start command in sh -c for env var expansion Railway's startCommand doesn't use shell expansion by default. Wrap in sh -c so $PORT is properly resolved at runtime. Co-Authored-By: Claude Opus 4.6 --- api/railway.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/railway.toml b/api/railway.toml index 20677e5..226b2e3 100644 --- a/api/railway.toml +++ b/api/railway.toml @@ -2,4 +2,4 @@ builder = "NIXPACKS" [deploy] -startCommand = "python -m uvicorn src.main:app --host 0.0.0.0 --port ${PORT:-8000}" +startCommand = "sh -c 'python -m uvicorn src.main:app --host 0.0.0.0 --port ${PORT:-8000}'"