mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 07:09:20 +08:00
feat: 将 Agent 接入运行时镜像挂载式部署
This commit is contained in:
Executable
+5
@@ -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}"
|
||||
Reference in New Issue
Block a user