Back

Using custom runtimes with self-hosted

  • 0
  • Self Hosted
sevla
24 Apr, 2024, 19:05

Hi, I'm trying to install some python libraries (langchain and crewai), but the available runtimes doesn't have all system dependencies necessary. So is possible to create a custom runtime and use it on Appwrite? let's say, create a dockerfile using ubuntu and python, and them make it available when creating functions?

TL;DR
Developers are having issues installing Python libraries due to missing system dependencies. Appwrite is working on improving Python runtimes, but in the meantime, developers can try using custom build commands to work around the issue. Alternatively, creating a custom runtime using a dockerfile with the necessary dependencies could be a solution.
Evdog
24 Apr, 2024, 19:14

We have an improvement for Python runtimes in the pipeline coming soon

Evdog
24 Apr, 2024, 19:15

You can try custom build commands to try and workaround but the package has to support Alpine

sevla
24 Apr, 2024, 19:42

Hi Evan, I did try installing the missing dependencies with custom build commands, didn't work out. Will wait for the runtime, may that one works.

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