From d863c1e23971c318016dc1587d60839ee926e637 Mon Sep 17 00:00:00 2001 From: Anthony Delannoy Date: Thu, 2 Nov 2023 14:29:09 +0100 Subject: [PATCH] fix(containerfile): install puppeteer --- Containerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 8988e3c..8d8829d 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,4 @@ -FROM node:bookworm-slim +FROM node:21.1.0-bookworm-slim # We don't need the standalone Chromium ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true @@ -16,6 +16,8 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked apt-get update \ USER node WORKDIR /app +RUN npm install puppeteer + COPY --chown=node:node . . # just run the container doing nothing