chore: 修复重载的目录问题导致的异常 reload
This commit is contained in:
parent
f1c7ad25be
commit
927da60836
@ -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"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user