For now I've identified the following folders as runtimeDirs
meaning, they need read-write
access. Explanation behind runtimeDirs
in the context of Cloudron => https://docs.cloudron.io/packaging/manifest/#runtimedirs
Many are the case because __pycache__
is being written into them and also from migrations:
"runtimeDirs": [
"/app/code/horilla_documents",
"/app/code/payroll",
"/app/code/.venv/",
"/app/code/facedetection",
"/app/code/geofencing",
"/app/code/helpdesk",
"/app/code/pms",
"/app/code/recruitment",
"/app/code/accessibility",
"/app/code/asset",
"/app/code/horilla_api",
"/app/code/offboarding",
"/app/code/horilla_audit",
"/app/code/horilla_crumbs",
"/app/code/horilla_automations",
"/app/code/horilla_backup",
"/app/code/horilla",
"/app/code/attendance",
"/app/code/onboarding",
"/app/code/horilla_views",
"/app/code/biometric",
"/app/code/employee",
"/app/code/leave",
"/app/code/base",
"/app/code/notifications",
"/app/code/project"
]
This is "meh".
The core application should be read-only
, I remember I tried to do:
uv run manage.py makemigrations
uv run manage.py migrate
uv run manage.py compilemessages
inside the Dockerfile to have all that as read-only
but then there were still errors 
Will have to look into that again.