530 B
530 B
2026-06-09 — Docker 部署前端同步修复
摘要
deploy-production.sh Docker 路径在 sync_webapp_to_container 前增加本地 vite build 并上传至宿主机 web/app,避免用 Git 中过期的静态资源覆盖镜像内新构建。
动机
Agent「诊断」按钮已进镜像,但部署后 sync 把宿主机旧 ServersPage-*.js 拷进容器,生产 UI 看不到新按钮。
涉及文件
deploy/deploy-production.sh
验证
部署后容器内 grep 诊断 ServersPage-*.js 应 > 0。