feat(api): 添加测试,小修小补
- **未经测试**
This commit is contained in:
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user