unlighthouse/Dockerfile
Firq 6850cd9cdd
All checks were successful
/ build (push) Successful in 6m49s
/ release (push) Successful in 24s
fix ver
2025-02-06 20:14:19 +01:00

14 lines
512 B
Docker

FROM node:22.13.1-bookworm-slim
LABEL authorname="firq"
LABEL description="unlighthouse container for ci-based lighthouse testing"
WORKDIR /unlighthouse
ENV CHROMIUM_VERSION="133.0.6943.53-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