unlighthouse/Dockerfile
Firq 1b94b8db65
All checks were successful
/ build (push) Successful in 2m55s
/ release (push) Successful in 5s
Bumped Unlghthouse
2024-10-21 22:46:30 +02:00

16 lines
583 B
Docker

FROM node:20.14.0-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="130.0.6723.58-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.14.0 puppeteer