unlighthouse/Dockerfile

14 lines
501 B
Text
Raw Normal View History

2023-12-21 11:12:35 +00:00
FROM node:20.10.0-bookworm
2023-12-21 14:43:11 +00:00
LABEL authorname="firq"
2023-12-21 11:12:35 +00:00
WORKDIR /unlighthouse
# renovate: datasource=repology depName=debian_12/chromium versioning=loose
ENV CHROMIUM_VERSION="120.0.6099.109-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 puppeteer