Skip to content

Instantly share code, notes, and snippets.

@mirakui
Created February 20, 2020 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirakui/5f7682026a1166be40baa203b1323b90 to your computer and use it in GitHub Desktop.
Save mirakui/5f7682026a1166be40baa203b1323b90 to your computer and use it in GitHub Desktop.
FROM node:10-slim
WORKDIR /usr/src/app
RUN 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-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
ENV CHROME_PATH=google-chrome-unstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment