WeKnora/scripts
HUANG Cheng 6a55860431
feat(ui): multi-stage Docker frontend build (no host npm) (#3074)
* feat(ui): multi-stage Docker build without host npm

Build frontend assets inside the image with node:24-bookworm, then
copy into the existing digest-pinned nginx runtime so docker compose
and CI no longer require a host-side dist step.

* fix(ui): copy local xlsx package and raise Node heap in Docker build

npm ci needs packages/xlsx before install, and vite OOM'd under the
default Node heap during the multi-stage image build.

* fix(ui): native multi-arch frontend Docker build and layer cache

Keep Vite on BUILDPLATFORM so CI does not qemu-emulate Node, pin the
builder image, and move the commit ARG after npm ci so dependency
layers stay cacheable.

---------

Co-authored-by: wizardchen <wizardchen@tencent.com>
2026-09-07 19:33:57 +08:00
..
cloud-image feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
git-hooks feat(sandbox): Docker 后端支持会话级长驻容器与远程守护进程 2026-08-24 12:22:58 +08:00
build-anydoc-lib.sh fix(anydoc): rebuild truncated patched crate instead of failing cargo 2026-08-21 16:16:33 +08:00
build_frontend_dist.sh feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
build_images.sh feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
check-env.sh feat(storage): support AWS S3 NoAk default credentials (#2008) 2026-08-05 11:59:02 +08:00
dev.sh feat(docparser): 引入 anydoc 引擎,在 Go 进程内解析 office 文档 2026-08-16 11:37:27 +08:00
docker-entrypoint.sh feat(agent): unify sandbox tools and drop host preloaded skills (#3033) 2026-09-05 16:45:59 +08:00
get_version.sh feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
install-git-hooks.sh fix(datasource): perform real sync deletions scoped per data source (#2690) 2026-08-13 19:52:44 +08:00
migrate.sh feat: 支持数据库迁移脏状态自动恢复和Neo4j连接重试机制 2025-12-08 19:38:16 +08:00
package-lite.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
package-mac-app.sh feat: implement desktop app structure with API base URL handling and bindings for Wails integration 2026-04-11 18:51:16 +08:00
quick-dev.sh refactor(tracing): remove Jaeger integration and related components 2026-06-08 21:01:04 +08:00
start_all.sh feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
test-homebrew.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
update-homebrew-formula.sh Revert "chore: make Lite edition support and related configurations hidden" 2026-04-11 18:51:16 +08:00
verify_frontend_pr.sh chore(cursor): run frontend CI before gh pr create 2026-07-31 11:54:20 +08:00