Sign inSign up

pernodricard/lighthouse-cli

By pernodricard

Updated over 5 years ago

Google Lighthouse CLI based on Docker

Image
0

613

pernodricard/lighthouse-cli repository overview

Lighthouse-cli

A simple Docker image to encapsulate Google Lighthouse CLI.

Usage

Basic usage that will output lighthouse help page:

docker run -it pernodricard/lighthouse-cli --help

Basic analysis of https://yoursite.com:

docker run -it pernodricard/lighthouse-cli https://yoursite.com

Json output to stdout:

docker run -it pernodricard/lighthouse-cli https://yoursite.com --output=json --quiet

Mounting volume to access output files (pdf, json, ...)

By default the output files are written in the container in /home/chrome/reports. You can use the -v command to map the folder to your local machine:

docker run -it -v /home/reports:/home/chrome/reports pernodricard/lighthouse-cli https://yoursite.com

Tag summary

Content type

Image

Digest

Size

415 MB

Last updated

over 5 years ago

docker pull pernodricard/lighthouse-cli