chore: 修复重载的目录问题导致的异常 reload

This commit is contained in:
Wenjie Zhang 2026-03-23 00:13:45 +08:00
parent f1c7ad25be
commit 927da60836

View File

@ -49,7 +49,7 @@ services:
environment:
<<: *api-worker-env
# endregion api_envs
command: uv run --no-dev uvicorn server.main:app --host 0.0.0.0 --port 5050 --reload
command: uv run --no-dev uvicorn server.main:app --host 0.0.0.0 --port 5050 --reload --reload-dir /app/server --reload-dir /app/package
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:5050/api/system/health || exit 1"]