Installing App APT Dependencies
While developing your app, you may use certain python dependencies; which you would add to your requirements.txt
or pyproject.toml
file. Some of these may require you to additionally install certain system level packages with some command, like:
sudo apt install ffmpeg
To do the same for Frappe Cloud, i.e, if your app has dependencies installable using Ubuntu's APT package manager, you can list them in your custom app's pyproject.toml
file like this:
[deploy.dependencies.apt]
packages = [
"ffmpeg",
]
Frappe Cloud will check if it is present and install it if it is not.
Here is an example from Frappe Drive: github.com/frappe/drive