How do we handle OCI Functions disk space exhaustion errors when installing Python libraries ?
I am using OCI Functions (Python runtime) and facing a disk space limitation error while installing Python dependencies, specifically large libraries like Playwright.
During the function build/deployment, the installation fails with errors indicating that the available disk space in the OCI Functions build/runtime environment is exhausted. Since Playwright downloads browser binaries (Chromium, etc.), the function cannot complete the installation successfully.
I understand that OCI Functions have very limited ephemeral disk space and that this space cannot be expanded. However, I need guidance on the recommended architecture or best practices to handle such use cases.
Questions:
- What is the correct approach to use heavy Python libraries (e.g., Playwright, wkhtmltopdf) with OCI Functions?
Tagged:
0