Skip to content

v2.0.8

Choose a tag to compare

@hanlianlu hanlianlu released this 15 Sep 22:35
· 910 commits to main since this release
build(docker): keep the host frontend build out of the build context

static/app is gitignored but still on disk after a local npm run build, and COPY src/ src/
swept that copy into the builder stage while the frontend stage wrote its own. The image
ended up carrying two bundles, and index.html could point at whichever one won last, so a
rebuilt image could keep serving a stale UI.

The context now excludes that path, so the image carries exactly one frontend build: the
one the frontend stage produces.

Verified: docker compose build --no-cache dlightrag-api, then the running container serves a
single style bundle whose CSS carries the current tokens (--size-radio, --size-switch-sm-*).