diff --git a/Dockerfile.web-vue b/Dockerfile.web-vue index 2e327c090..e5b874680 100644 --- a/Dockerfile.web-vue +++ b/Dockerfile.web-vue @@ -43,9 +43,12 @@ RUN bun install --frozen-lockfile # Full source (excludes heavy local build outputs via .dockerignore). COPY . . -# Same pipeline as the Cloudflare Pages deploy (app.yml): build:packages → -# lint → vite build. Lint runs on the vendored fork (includes our theme patch). -RUN bun run build +# Build the workspace packages and the SPA. Deliberately NOT `bun run build`: +# that also runs the repo's oxlint quality gate (`lint:structure` + type-aware +# oxlint over ~2k files). Linting is a CI/`bun run check` concern, not an image +# build step — it added ~7 s and spammed the deploy log with the fork's +# pre-existing `max-lines` warnings for three upstream files. +RUN bun run build:packages && bun run build:app # Prune to production dependencies so the runtime layer is lean. bun keeps # workspace symlinks; the MCP server's deps (hono, @modelcontextprotocol/sdk, diff --git a/package.json b/package.json index 3492eabc1..63005d3f2 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "dev": "vite", "dev:portless": "portless run vite", "build": "bun run build:packages && bun run lint && vite build", + "build:app": "vite build", "preview": "vite preview", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build",