
Hi there, what could be the best way to reduce the size of repository for a function deployment ? I'm trying to deploy a repository with a size around 74MB's. Facing the following build error on appwrite console:
Repository directory size should be less than 28.61 MBs.

What langague ?

Python

Mm, It will be hard to find a way around it.

From what I see you'll need to reduce the size on your side

Like compressing source files ?

Is your code weight 74MB or it's attached assets?

The main.py
is just 16.5kB, but I have many files attached. Among them more python scripts, json, txt...

What I would suggest it to host the assets file in some bucket, and you can pull them when your function starts
Recommended threads
- JSON Parse error: Unexpected EOF when ex...
Hi, I'm trying to test a piece of code and I can't figure out what I'm doing wrong. I've reduced the deployed main to just this ```javascript export default as...
- Function delayed execution does not exec...
Hi, I’m having issues with scheduled function executions. Sometimes the delayed function triggers, but a lot of the time it doesn’t. For example the status just...
- Deployment Error After Migrating from 1....
Hi Everyone, After recently migrating my self-hosted Appwrite instance from version 1.6.0 to 1.6.2, I’m encountering an issue while deploying a function. The d...
