WeKnora/website-docs/05-clients
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
..
01-frontend.md feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
02-cli.md docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00
03-go-sdk.md feat(api): honor resource_urls=public on hybrid-search 2026-08-26 17:40:54 +08:00
04-miniprogram.md docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00
05-desktop.md docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00
06-chrome-extension.md docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00
07-claw-skill.md docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00