open-wa / wa-automate-docker

💬 🤖 The easiest way to turn your WhatsApp into an API. Be sure to 🌟 this repository for updates!
106 stars 31 forks source link

Add --popup in docker file #19

Closed manojsitapara closed 3 years ago

manojsitapara commented 3 years ago

To display QR code on browser, it required to run following docker command

docker run -e PORT=8080 -p 8080:8080 openwa/wa-automate:latest --popup

it is better we can specify --popup in the docker file, so user need not to specify it explicitly

Reference issue: https://github.com/open-wa/wa-automate-nodejs/issues/1866

smashah commented 3 years ago

crazy that this doesn't automatically turn it on:

https://github.com/open-wa/wa-automate-docker/blob/6f60566889ec0d8ada2b740fa31d71ba56a76488/Dockerfile#L39

anyways, I'll add this now before I head off to bed

smashah commented 3 years ago

Build:

https://github.com/open-wa/wa-automate-docker/runs/3038528496

If there are further issues let me know here and I will deal with them later.

thanks @manojsitapara