fix(lighthouse): switch to docker volumes

This commit is contained in:
2026-01-12 11:15:27 +01:00
parent 473bd7b05d
commit fa8e84514a
2 changed files with 29 additions and 14 deletions

View File

@@ -18,13 +18,16 @@ services:
container_name: lighthouse-audit
user: "0:0"
volumes:
- ./dist-audit:/app/dist
- ./.lighthouseci:/app/.lighthouseci
- ./.lighthouserc.cjs:/app/.lighthouserc.cjs
- audit_dist:/app/dist
- audit_reports:/app/.lighthouseci
environment:
- CHROME_PATH=/usr/bin/chromium-browser
working_dir: /app
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/.lighthouserc.cjs
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/dist/audit-config.cjs
volumes:
audit_dist:
audit_reports:
networks:
reverse-proxy: