/docker-lighthouse

Example of how to run lighthouse locally or using docker

Primary LanguageShellMIT LicenseMIT

lighthouse/chromium/alpine/docker image

Run Google's Lighthouse headless in the background

This image allows you to quickly run lighthouse in a headless container. That's useful if you want to run it from a CI server, or in the background of your workstation.

Installation

From Github

Github URL: https://github.com/helmuthdu/docker-lighthouse

    git clone git@github.com:helmuthdu/docker-lighthouse.git
    docker build --pull --rm -t lighthouse:latest

Usage

docker-cli

docker run -ti --rm -v $(pwd):/lighthouse lighthouse "https://www.amazon.com"

nodejs

npm run lighthouse