Skip to content

Commit

Permalink
Merge pull request #31 from DNLINYJ/master
Browse files Browse the repository at this point in the history
fixed: Failed to launch the browser process
  • Loading branch information
xiangsx authored May 13, 2023
2 parents 4b5f32f + 16f241d commit 6fece69
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ RUN apt update && \
libxfixes3 \
libxrandr2 \
libgbm1 \
libasound2 \
&& rm -rf /var/lib/apt/lists/*
libasound2

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

RUN apt-get update && apt install gnupg wget -y && \
wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
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 install google-chrome-stable -y --no-install-recommends && \
rm -rf /var/lib/apt/lists/*

USER 1000

Expand Down

0 comments on commit 6fece69

Please sign in to comment.