diff --git a/main.py b/main.py deleted file mode 100644 index e0d007ff..00000000 --- a/main.py +++ /dev/null @@ -1,6 +0,0 @@ -"""Entry point for Railway deployment using Railpack.""" - -from late.mcp.http_server import main - -if __name__ == "__main__": - main() diff --git a/railway.toml b/railway.toml index 0ad11aa3..4ec1d67e 100644 --- a/railway.toml +++ b/railway.toml @@ -1,15 +1,9 @@ [build] -# Use Railpack (auto-detects Python + uv) -builder = "NIXPACKS" +builder = "DOCKERFILE" +dockerfilePath = "Dockerfile" [deploy] -# Start command for the HTTP server -startCommand = "python main.py" - -# Health check configuration healthcheckPath = "/health" healthcheckTimeout = 100 - -# Restart policy restartPolicyType = "on_failure" restartPolicyMaxRetries = 3