You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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-*).