feat: 将 Agent 接入运行时镜像挂载式部署

This commit is contained in:
2026-09-20 17:34:25 +08:00
parent 5393ad3423
commit 67c2d58c32
20 changed files with 499 additions and 40 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# 使用镜像内 Python 加载挂载的源码与 .deps(避免 venv shebang 路径不可移植)
set -e
export PYTHONPATH="/app:/app/.deps${PYTHONPATH:+:$PYTHONPATH}"
exec python -m uvicorn api.main:app --host 0.0.0.0 --port "${PORT:-8201}"