refactor(docker): 移除Dockerfile中中文字体安装步骤

- 删除了fonts-wqy-zenhei字体的安装命令
- 精简了Dockerfile,减少了镜像体积
- 移除了无用的缓存清理命令相关代码
- 保持工作目录和依赖复制指令不变
This commit is contained in:
2026-03-24 23:15:08 +08:00
parent 89b7aa1f2c
commit c104fca693

View File

@@ -3,12 +3,6 @@ FROM index-base:latest
# 设置工作目录
WORKDIR /app
# 安装中文字体
RUN apt-get update && apt-get install -y --no-install-recommends \
fonts-wqy-zenhei \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf ~/.cache/matplotlib
# 复制依赖文件
COPY requirements.txt .