fix: run via fastmcp CLI and remove direct mcp.run()

This commit is contained in:
Clawdbot
2026-02-12 12:40:22 +11:00
parent 15908f95e3
commit 75a9c979b3
2 changed files with 8 additions and 53 deletions

View File

@@ -22,5 +22,5 @@ USER appuser
# Expose the SSE port
EXPOSE 8000
# Run in SSE mode
CMD ["python", "server.py", "sse", "--host", "0.0.0.0", "--port", "8000"]
# Run via FastMCP CLI in SSE mode
CMD ["fastmcp", "run", "server.py:mcp", "--transport", "sse", "--host", "0.0.0.0", "--port", "8000"]