helmuthdu / docker-lighthouse

Example of how to run lighthouse locally or using docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Example of how to run lighthouse locally or using docker

License:MIT License


Languages

Language:Shell 71.3%Language:Dockerfile 28.7%