Skip to content

Commit

Permalink
fix(#44): ajout libx11-xcb1 et maj node (#45)
Browse files Browse the repository at this point in the history
- Ajout de la dépendance libx11-xcb1 requise pour assurer
  le bon fonctionnement de Chrome dans le conteneur Docker
- Montée de version vers Node.js 16 (LTS)

Fixes #44
  • Loading branch information
GaelGirodon authored Jul 19, 2022
1 parent 072987f commit 60ebaf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See : https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-in-docker
FROM node:14-slim
FROM node:16-slim

# Uncomment if you need to configure proxy.
# You can init these variables by using --build-args during docker build
Expand All @@ -13,7 +13,7 @@ RUN apt-get update \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 \
&& apt-get install -y google-chrome-stable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf libxss1 libx11-xcb1 \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
Expand Down

0 comments on commit 60ebaf0

Please sign in to comment.