No description
Find a file
Firq ba58c89741
All checks were successful
/ build-unlighthouse-0.16.3-alpine (push) Successful in 4m52s
/ build-unlighthouse-0.17.10-alpine (push) Successful in 6m26s
/ build-unlighthouse-0.16.3-bookworm (push) Successful in 10m35s
/ build-unlighthouse-0.17.10-bookworm (push) Successful in 10m33s
extra latest tags and switch to node-alpine-git too
2026-06-19 22:19:59 +02:00
.forgejo/workflows extra latest tags and switch to node-alpine-git too 2026-06-19 22:19:59 +02:00
.gitignore Bumped unlighthouse-ci and chromium versions, lighthouse 12 support 2024-06-20 18:38:41 +02:00
dockerfile.alpine extra latest tags and switch to node-alpine-git too 2026-06-19 22:19:59 +02:00
dockerfile.bookworm Try building alpine variant too 2026-06-19 21:45:09 +02:00
README.md Updated README 2023-12-29 13:12:36 +01:00

unlighthouse Docker Image

Image based on node:20.10.0-bookworm with chromium and unlighthouse preinstalled.

It can be used for benchmarking a given site with lighthouse and to generate corresponding reports with ease.

Usage

The unlighthouse cli can be used by running the command unlighthouse inside the container

unlighthouse-ci --site "https://preview.firq.dev/"

It is recommended to provide a unlighthouse.config.ts to reduce the amount of CLI arguments needed.

An example config can be found here:

export default {
    puppeteerOptions: {
        args: ["--no-sandbox", "--disable-setuid-sandbox"],
    },
    ci: {
        budget: 90,
        buildStatic: true
    },
    outputPath: "unlighthouse-reports",
}