Séparation de pa11y et lighthouse
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM golang:1.11.4 as envtpl
|
||||
FROM golang:1.13 as envtpl
|
||||
|
||||
ARG HTTP_PROXY=
|
||||
ARG HTTPS_PROXY=
|
||||
@ -35,7 +35,6 @@ RUN apk add --no-cache \
|
||||
chromium
|
||||
|
||||
RUN npm install -g lighthouse
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y pa11y-reporter-html
|
||||
|
||||
RUN adduser -D lighthouse
|
||||
|
||||
@ -43,7 +42,6 @@ COPY run-audit.sh /usr/local/bin/run-audit
|
||||
RUN chmod +x /usr/local/bin/run-audit
|
||||
|
||||
COPY config.js.tmpl /home/lighthouse/config.js.tmpl
|
||||
COPY patty.json.tmpl /home/lighthouse/patty.json.tmpl
|
||||
|
||||
WORKDIR /home/lighthouse
|
||||
|
||||
|
Reference in New Issue
Block a user