Learn how to configure Puppeteer on Discloud, including dependencies and RAM adjustments, to ensure proper operation in container environments.
📌 Requirements
To use Puppeteer on Discloud, a minimum of 512 MB RAM is recommended for basic tasks. However, depending on the complexity of your application, more RAM may be required.
If Puppeteer does not function correctly (e.g., no QR code in logs, crashes), increase the allocated RAM!
📦 Adding Puppeteer
Puppeteer requires additional system dependencies. You must add puppeteer to the APT field in your discloud.config file.
discloud.config
# ...APT=tools, puppeteer# ...
⚙️ Configuring Puppeteer
Since Puppeteer runs in a containerized environment, you must add the --no-sandbox argument to ensure it works correctly.