缩小Docker运行镜像体积

This commit is contained in:
2026-05-06 09:39:53 +08:00
parent edc7d970a8
commit 38c8e8918d
2 changed files with 16 additions and 18 deletions
+1
View File
@@ -8,6 +8,7 @@
- 移除代码中的默认 iDRAC 地址、账号和密码,改为必须通过环境变量配置。
- 增加 `.env.example``.dockerignore` 和 MIT License。
- 清理 Python 缓存文件,避免将运行产物提交到仓库。
- Docker 运行镜像切换到 Alpine,只安装 `python3``ipmitool` 和时区数据,降低镜像体积。
## Previous Improvements