docs(troubleshooting.md): updated commands (#6296)
prior command installs stable version of chrome (RUN command), but after that, the docs is referring to unstable version. added correct commands for troubleshooting in linux environment.
This commit is contained in:
parent
ce6ae3537e
commit
35cfbe1857
@ -278,7 +278,7 @@ RUN apt-get update \
|
|||||||
|
|
||||||
# Uncomment to skip the chromium download when installing puppeteer. If you do,
|
# Uncomment to skip the chromium download when installing puppeteer. If you do,
|
||||||
# you'll need to launch puppeteer with:
|
# you'll need to launch puppeteer with:
|
||||||
# browser.launch({executablePath: 'google-chrome-unstable'})
|
# browser.launch({executablePath: 'google-chrome-stable'})
|
||||||
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
# ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
|
||||||
|
|
||||||
# Install puppeteer so it's available in the container.
|
# Install puppeteer so it's available in the container.
|
||||||
@ -293,7 +293,7 @@ RUN npm i puppeteer \
|
|||||||
# Run everything after as non-privileged user.
|
# Run everything after as non-privileged user.
|
||||||
USER pptruser
|
USER pptruser
|
||||||
|
|
||||||
CMD ["google-chrome-unstable"]
|
CMD ["google-chrome-stable"]
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the container:
|
Build the container:
|
||||||
|
Loading…
Reference in New Issue
Block a user