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
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...
- ClientException with SocketException: Cl...
hi <@564158268319203348> i have noticed this 500 status code in my function requests, it seems its not able to connect to the internet in the function as reque...