unlighthouse/Dockerfile
Firq 6fc76e29d7
All checks were successful
/ release (push) Successful in 6s
/ build (push) Successful in 2m39s
Reverted to bookwork
2024-06-20 19:27:38 +02:00

14 lines
509 B
Docker

FROM node:20.14.0-bookworm
LABEL authorname="firq"
WORKDIR /unlighthouse
# renovate: datasource=repology depName=debian_12/chromium versioning=loose
ENV CHROMIUM_VERSION="126.0.6478.114-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.13.1 puppeteer