update
This commit is contained in:
parent
51a3ea5e2f
commit
489c17db66
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.13-slim as builder
|
FROM python:3.10-slim as builder
|
||||||
|
|
||||||
# 安装系统依赖
|
# 安装系统依赖
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
@ -23,7 +23,7 @@ RUN pip install --upgrade pip && \
|
|||||||
pip wheel --wheel-dir=/build/wheels -r requirements.txt
|
pip wheel --wheel-dir=/build/wheels -r requirements.txt
|
||||||
|
|
||||||
# 第二阶段:最终镜像
|
# 第二阶段:最终镜像
|
||||||
FROM python:3.13-slim
|
FROM python:3.10-slim
|
||||||
|
|
||||||
# 安装运行时依赖
|
# 安装运行时依赖
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user