Optimize Docker build with multi-stage frontend compilation

• Add frontend build stage to Dockerfile
• Remove --production flag from bun install
• Fix frontend asset integration
This commit is contained in:
yangdx
2025-10-14 15:02:58 +08:00
parent a81c122fd9
commit e5cbc593f4
2 changed files with 19 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ jobs:
- name: Build Frontend WebUI
run: |
cd lightrag_webui
bun install --frozen-lockfile --production
bun install --frozen-lockfile
bun run build
cd ..