fix(lighthouse): merge astro data and audit config to fix permission issues

This commit is contained in:
2026-01-12 11:23:16 +01:00
parent 2daa0dcffb
commit 1ac38be75b
2 changed files with 8 additions and 5 deletions

View File

@@ -18,13 +18,13 @@ services:
container_name: lighthouse-audit
user: "0:0"
volumes:
- ${PWD}/dist-audit:/app/dist
- ${PWD}/.lighthouseci:/app/.lighthouseci
- ${PWD}/.lighthouserc.cjs:/app/.lighthouserc.cjs
# astro file + config
- ./dist-audit:/app/dist
- ./.lighthouseci:/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
networks:
reverse-proxy: