test(docker): 分段构建

pull/1346/head
infinitycat 2025-11-07 09:23:59 +08:00
parent b91246ffc5
commit 45df8b4b75
No known key found for this signature in database
GPG Key ID: 717DF0710E3E04A1
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ COPY requirements.txt .
COPY --from=lpmm-builder /usr/local/lib/python3.13/site-packages/ /usr/local/lib/python3.13/site-packages/
# 安装运行时依赖
RUN uv pip install --system --upgrade pip
RUN uv pip install --system -r requirements.txt
# 复制项目代码