feat(api): 添加测试,小修小补

- **未经测试**
This commit is contained in:
jimmy-sketch
2025-07-26 10:28:48 +08:00
parent 3b697785fc
commit 7ea4570c17
10 changed files with 266 additions and 59 deletions

View File

@@ -13,10 +13,11 @@ RUN apt-get update && apt-get install -y \
# 复制依赖文件
COPY uv.lock .
COPY pyproject.toml .
COPY requirements.txt .
# 安装Python依赖
RUN uv sync --locked
RUN pip install uvicorn
RUN uv sync
RUN pip install -r requirements.txt
# 复制应用代码
COPY . .