From 8ed1310ca1576dbbfb523267426be8bb9905676f Mon Sep 17 00:00:00 2001 From: Bobby Date: Tue, 28 Jun 2022 03:02:23 +0530 Subject: Update to latest alpine-chrome with msttcorefonts --- Dockerfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 2467eb6b..45f17f74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,18 @@ -FROM zenika/alpine-chrome:89-with-node-14 +FROM zenika/alpine-chrome:latest-with-node + +USER root + +RUN apk add --no-cache msttcorefonts-installer fontconfig +RUN update-ms-fonts +RUN fc-cache -f && rm -rf /var/cache/* + +USER chrome COPY package*.json ./ RUN npm install COPY . . - ENV PUPPETEER_EXECUTABLE_PATH='/usr/bin/chromium-browser' EXPOSE 8080 -- cgit v1.2.3