Having issues with alpine-node-puppeteer? Anyone got it running smoothly? or Best practices for setti

14 Replies, 745 Views

I got alpine-node-puppeteer running by ditching the default chromium install and using a custom build. Painful, but doable. Here’s my Dockerfile snippet:

```
ENV CHROMIUM_PATH=/usr/bin/chromium-browser
RUN apk add --no-cache \
chromium \
libstdc++
```

Also, don’t forget `--disable-dev-shm-usage` in puppeteer.launch(). Saved me from random crashes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)