unlighthouse/Dockerfile
Firq 5c496fe840
Some checks failed
/ build (push) Failing after 2m18s
/ release (push) Has been skipped
Bumped ver
2025-02-06 19:54:37 +01:00

15 lines
584 B
Docker

FROM node:22.13.1-bookworm
LABEL authorname="firq"
LABEL description="unlighthouse container for ci-based lighthouse testing"
WORKDIR /unlighthouse
# renovate: datasource=repology depName=debian_12/chromium versioning=loose
ENV CHROMIUM_VERSION="132.0.6834.159-1~deb12u1"
ENV NODE_ENV='production'
# Update path so executable can be run globally
ENV PATH="/unlighthouse/node_modules/.bin:${PATH}"
RUN apt-get update && apt-get -y install --no-install-recommends chromium=${CHROMIUM_VERSION} procps && rm -rf /var/lib/apt/lists/*
RUN npm install @unlighthouse/cli@0.15.0 puppeteer