Back

HowTo: Custom Cloud Function Runtime Environment or run a script on function build

  • 0
  • Functions
sSr
3 Jul, 2023, 17:19
  • I am using self hosted version. For my use case I need certain modules installed in container that is running the python function.
  • Is it possible to edit the base image used to create python function environment ?
  • Alternatively when i provide requirement.txt file on build time its install those package in the function ... similarly is it possible to provide a script like startup.sh which install some packages, edits env vars etc on build time ???
TL;DR
You cannot currently customize the runtime environment for cloud functions in Appwrite. However, you can support the issue and provide your use case on the GitHub thread mentioned. This may help to prioritize this feature in future updates.
Drake
3 Jul, 2023, 22:35

Not possible at the moment. You might want to 👍 this issue and comment with your use case: https://github.com/appwrite/appwrite/issues/1037

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more