Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Railway Deployment #f254ec fix: remove uv from startCommand (#147)

railway-app[bot]3d968ec3e91e
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a46ad93..5c381ba 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -51,9 +51,9 @@ jobs:
assert railway["build"]["builder"] == "NIXPACKS"
assert "nixpacksPlan" not in railway["build"]
- assert railway["deploy"]["startCommand"] == "uv run fli-mcp-http"
+ assert railway["deploy"]["startCommand"] == "fli-mcp-http"
assert nixpacks["variables"]["NIXPACKS_UV_VERSION"]
- assert nixpacks["start"]["cmd"] == "uv run fli-mcp-http"
+ assert nixpacks["start"]["cmd"] == "fli-mcp-http"
PY
- name: Generate Nixpacks plan
diff --git a/nixpacks.toml b/nixpacks.toml
index ab73607..72a7a7f 100644
--- a/nixpacks.toml
+++ b/nixpacks.toml
@@ -7,4 +7,4 @@ NIXPACKS_UV_VERSION = "0.11.3"
cmds = ["python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install uv==$NIXPACKS_UV_VERSION && uv sync --active --no-dev --frozen --extra mcp"]
[start]
-cmd = "uv run fli-mcp-http"
+cmd = "fli-mcp-http"
diff --git a/railway.toml b/railway.toml
index 3500e1c..dd07da7 100644
--- a/railway.toml
+++ b/railway.toml
@@ -3,7 +3,7 @@ builder = "NIXPACKS"
[deploy]
numReplicas = 1
-startCommand = "uv run fli-mcp-http"
+startCommand = "fli-mcp-http"
sleepApplication = true
restartPolicyType = "ON_FAILURE"
restartPolicyMaxRetries = 10