From 0d69232395a569577f1c4a2cbddc7bbf90515158 Mon Sep 17 00:00:00 2001 From: Fabian Pfaff <36813564+fapfaff@users.noreply.github.com> Date: Sat, 4 Jan 2025 21:50:59 +0100 Subject: [PATCH] install chrome via apt instead of bundled (#122) --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index f5bb835..d7c32ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,11 @@ WORKDIR /fredy COPY . /fredy +RUN apt-get update && apt-get install -y chromium + +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \ + PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium + RUN yarn install RUN yarn global add pm2