From 2f83744a5abd8f2a4a5ebee6767ef575b48e7718 Mon Sep 17 00:00:00 2001 From: mytlogos Date: Fri, 26 Aug 2022 15:11:29 +0200 Subject: [PATCH] fix: install chromium separately --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7b523e2e..55889377 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,10 @@ FROM node:18 ARG PROJECT_VERSION +RUN apt update && apt install -y chromium && apt-get clean +RUN export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true +RUN export PUPPETEER_EXECUTABLE_PATH=$(which chromium) + WORKDIR /code COPY prepare-docker.sh ./ # download release and install dependencies