Some checks failed
CI / Scanner Lint (push) Has been cancelled
CI / Scanner Tests (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / API Lint (push) Has been cancelled
CI / API Tests (push) Has been cancelled
CI / Banner Lint & Typecheck (push) Has been cancelled
CI / Banner Tests (push) Has been cancelled
CI / Banner Build (push) Has been cancelled
CI / Admin UI Typecheck (push) Has been cancelled
CI / Admin UI Tests (push) Has been cancelled
CI / Admin UI Build (push) Has been cancelled
The root Dockerfile's builder stage runs playwright install chromium --with-deps, but these deps and the browser cache were not persisted to the runtime stage. The scanner process could never start because Playwright/Chromium libraries were missing. Add the same shared-library dependencies that the standalone scanner Dockerfile lists, copy the Chromium browser cache from the builder, and set PLAYWRIGHT_BROWSERS_PATH so Playwright finds the browsers. Fixes the ConnectError: the scanner can now launch Chromium and respond to scan requests on http://127.0.0.1:8001.
3.4 KiB
3.4 KiB