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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...