feat: deploy demo test

This commit is contained in:
tao.chen
2026-07-28 13:57:54 +08:00
parent af74f2f242
commit 128aa7563f
6 changed files with 77 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ COPY common ./common
COPY backend ./backend
# 3. 安装 backend 及其所有依赖 (包括本地 common)
RUN uv sync --frozen --no-dev --package backend
RUN UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv sync --frozen --no-dev --no-editable --package backend
EXPOSE 8000
+2
View File
@@ -8,7 +8,9 @@ authors = [
]
requires-python = ">=3.12"
dependencies = [
"boto3>=1.43.57",
"fastapi>=0.140.0",
"httpx>=0.28.1",
"loguru>=0.7.3",
"pydantic>=2.13.4",
"uvicorn>=0.51.0",