rohitsangwan01 / whatsapp_bot_flutter

Whatsapp bot for flutter desktop
MIT License
40 stars 26 forks source link

Deploy docker to Google Cloud Run #37

Open loic-hamdi opened 1 year ago

loic-hamdi commented 1 year ago

Hey there,

Did someone successfully deployed via docker to Google Cloud Run?

In the logs I always stay stuck at:

ConnectionEvent.downloadingChrome
loic-hamdi commented 1 year ago

@rohitsangwan01 please add possibility to set noSandboxFlag in puppeteer.launch()

browser = await puppeteer.launch(
          headless: headless,
          executablePath: executablePath,
          userDataDir: sessionDirectory,
          args: puppeteerArgs,
          noSandboxFlag: bool <<-----
        );
rohitsangwan01 commented 1 year ago

@loic-hamdi you can add a PR for this , or first you can try this in your fork if this fixes your issue