fix(build): skip extension-clipper build to unblock Docker build

Why: clipper Vite build fails on missing icons/icon16.png asset.
We don't ship the clipper inside the main image — overriding its
build script to a no-op lets pnpm build complete without touching
the clipper workspace.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Corentin JOGUET 2026-05-11 09:53:41 +00:00
parent d120619245
commit 730e52acd2

View file

@ -10,6 +10,9 @@ WORKDIR /app
COPY . .
RUN pnpm install --frozen-lockfile
RUN node -e "const f='apps/extension-clipper/package.json';const p=require('./'+f);p.scripts.build='echo skip-clipper';require('fs').writeFileSync(f,JSON.stringify(p,null,2))"
RUN pnpm build
FROM base AS installer