mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update browserless
This commit is contained in:
parent
dd4a70632e
commit
6215fe7016
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user