test(docker): 分段构建
This commit is contained in:
@@ -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/
|
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
|
RUN uv pip install --system -r requirements.txt
|
||||||
|
|
||||||
# 复制项目代码
|
# 复制项目代码
|
||||||
|
|||||||
Reference in New Issue
Block a user