I have a basic webapp designed with Streamlit in Python. Streamlit is extremely easy to deploy with just a single line of code:
streamlit run my_app.py
As I added a sqlite3 database to store some data form the webapp, I wanted to add Disk space to my webapp, so that the data are not getting lost each time a new version of my webapp is being deployed.
After many hours spent in trying to understand how to setup the mount path of the Disk, I wasn’t able to set it up.
I have noticed that the folder coming from the github is being stored in opt/render/project/src, so tried to point to the same path, but it didn’t work.
In addition; I tried to set the mount path to /opt/var/app_name, but again without success.
Therefore, WHAT SHOULD BE THE MOUNT PATH OF DISK?
Thanks in advance!