chore(docker): optimize server dockerfile with docker-ce-cli installation

- Replace full docker.io package with lightweight docker-ce-cli to reduce image size
- Add ca-certificates and gnupg dependencies for secure package management
- Improve Docker installation process for local Worker task distribution
- Reduce unnecessary dependencies in server container build
This commit is contained in:
yyhuni
2026-01-03 08:09:03 +08:00
parent fc977ae029
commit d484133e4c

View File

@@ -11,7 +11,10 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*
# 安装 Docker CLI用于本地 Worker 任务分发)
RUN apt-get update && apt-get install -y docker.io && rm -rf /var/lib/apt/lists/*
# 只安装 docker-ce-cli避免安装完整 Docker 引擎
RUN apt-get update && \
apt-get install -y ca-certificates gnupg && \
install -m 07
# 安装 uv超快的 Python 包管理器)
RUN pip install uv