diff options
| author | Bobby <[email protected]> | 2022-06-28 03:02:23 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-06-28 03:02:23 +0530 |
| commit | 8ed1310ca1576dbbfb523267426be8bb9905676f (patch) | |
| tree | 97771ce8c057fc00f289ad80f96423ac1d0c03bc /Dockerfile | |
| parent | 05fd6480c99a48ac52feee3e5b184c6c3e23bcfd (diff) | |
| download | thatcomputerscientist-8ed1310ca1576dbbfb523267426be8bb9905676f.tar.xz thatcomputerscientist-8ed1310ca1576dbbfb523267426be8bb9905676f.zip | |
Update to latest alpine-chrome with msttcorefonts
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |
