Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docker/v12.6.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Run w/ Puppeteer w/ Lighthouse in a container
#
# Lighthouse is a tool that allows auditing, performance metrics, and best
# practices for Progressive Web Apps.
#
# Puppeteer-core doesn't have a browser
# so having executablePath in LH browser settings in mandatory

FROM node:alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci --production

FROM alpine:latest
RUN apk add --no-cache nodejs npm chromium
COPY --from=build /app .
Loading