Document Docker image cleanup and add docker-prune script.

Explain safe prune vs aggressive prune, compose down --rmi local, and when to run after rebuilds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-10 23:26:57 +08:00
parent 6265e56a7f
commit f22e3f4d16
4 changed files with 157 additions and 5 deletions
+3
View File
@@ -54,3 +54,6 @@ done
curl -s -o /dev/null -w "首页 HTTP %{http_code}\n" "http://127.0.0.1:${APP_PORT}/" || true
echo "==> 部署完成。日志:docker compose logs -f zhimingge"
echo ""
echo "==> 可选:清理无用镜像释放磁盘"
echo " bash scripts/docker-prune.sh"