Files
Nexus/docs/changelog/2026-06-09-docker-frontend-sync-fix.md
T
Nexus Agent cbbcdae66d feat(servers): interactive stat cards and unset_path count
Click offline/online to filter, unset-path to scroll to panel; add unset_path to /servers/stats; fix Docker deploy frontend sync.
2026-06-09 09:42:51 +08:00

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。