What is the path for Railway storage?
Hello I'm trying to save a .sav file to railway in Flask (Python) what path should I use for the file location? Cause I keep getting directory not found.
Solution:Jump to solution
add a volume to your service https://docs.railway.app/guides/volumes
then use the
RAILWAY_VOLUME_MOUNT_PATH
environment variable as the path to save your files https://docs.railway.app/reference/variables#railway-provided-variables...2 Replies
Solution
add a volume to your service https://docs.railway.app/guides/volumes
then use the
RAILWAY_VOLUME_MOUNT_PATH
environment variable as the path to save your files https://docs.railway.app/reference/variables#railway-provided-variablesworked thanks