upgrade puppeteer in capture microservice + add emojis

This commit is contained in:
keyan 2024-01-30 19:53:53 -06:00
parent 565950c875
commit a62cdd288f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/puppeteer/puppeteer:18.2.1
FROM ghcr.io/puppeteer/puppeteer:21.10.0
EXPOSE 5678
@ -11,5 +11,7 @@ RUN npm ci
COPY . .
RUN curl http://ftp.de.debian.org/debian/pool/main/f/fonts-noto-color-emoji/fonts-noto-color-emoji_0~20200916-1_all.deb \
-o fonts-noto-color-emoji.deb && dpkg -i fonts-noto-color-emoji.deb && rm fonts-noto-color-emoji.deb
CMD [ "node", "index.js" ]
USER pptruser