Files
manavarya09__design-extract/smithery.dockerfile
T
Manav Arya Singh 037db816b4 feat(install): drop the postinstall Chromium download; add install-browser and one launcher
postinstall downloaded Chromium on every npm install, which fails in CI, Docker
and behind proxies. Browsers are now installed on demand.

- designlang install-browser [--with-deps] installs the Chromium that matches
  the bundled playwright
- src/browser.js launchChromium(): bundled Chromium, then system Chrome, then a
  BROWSER_UNAVAILABLE error that names the fix; all 13 launch sites use it
- doctor, the extraction error and smithery.dockerfile point at install-browser
2026-09-15 15:45:12 +04:00

17 lines
691 B
Docker

FROM node:20-slim
# Playwright chromium deps
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 \
libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 \
libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 \
libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 \
libxss1 libxtst6 wget \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g designlang && designlang install-browser
WORKDIR /app
ENTRYPOINT ["npx", "designlang", "mcp"]