2024-06-20 16:46:59 +00:00
|
|
|
FROM node:20.14.0-bookworm-slim@sha256:0d3a660c7268a54f8b0e620d526b95c7528435348ff69fb0cf8fd8f8cd5d9a60
|
|
|
|
|
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
|
2024-06-20 16:38:41 +00:00
|
|
|
ENV CHROMIUM_VERSION="126.0.6478.56-1~deb12u1"
|
2023-12-21 11:12:35 +00:00
|
|
|
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/*
|
2024-06-20 16:38:41 +00:00
|
|
|
RUN npm install @unlighthouse/cli@0.13.1 puppeteer
|