优化Docker中的uv逻辑

This commit is contained in:
puke committed 2025-11-07 16:59:12 +08:00
1 parent a312f7c0d8
commit 4d08f69a8d
2 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ services:
context: .
dockerfile: Dockerfile
container_name: pixelle-video-api
command: /root/.cargo/bin/uv run python api/app.py --host 0.0.0.0 --port 8000
command: /root/.local/bin/uv run python api/app.py --host 0.0.0.0 --port 8000
ports:
- "8000:8000"
volumes:
@@ -42,7 +42,7 @@ services:
context: .
dockerfile: Dockerfile
container_name: pixelle-video-web
command: /root/.cargo/bin/uv run streamlit run web/app.py --server.port 8501 --server.address 0.0.0.0
command: /root/.local/bin/uv run streamlit run web/app.py --server.port 8501 --server.address 0.0.0.0
ports:
- "8501:8501"
volumes: