1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

update browserless

This commit is contained in:
kevin 2024-04-15 15:00:40 +08:00
parent dd4a70632e
commit 6215fe7016

View File

@ -80,6 +80,10 @@ driver.quit()
```bash
$ docker-compose up -d
$ crontab -l
0 */4 * * * docker restart browserless-browserless-1
5 * * * * docker exec browserless-browserless-1 find /tmp -name '.com.google.Chrome.*' -mmin +60 -exec rm -rf {} \;
$ npm install puppeteer-core
$ node screenshot.js
$ imgcat google.png