R
Railway•2y ago
Hazim

Public folder in NestJS getting deleted after every git push

I created a NestJS server that serves files and stores the files locally inside of the public folder on the root of the project. After every push to git railway will auto deploy which is great but it deletes the old public folder because of the docker image trying to copy from GitHub. Is there anyway to keep this folder persistent through builds? 😭 project id: 0a0ceeba-0c50-489e-a570-bedcdd432d45
3 Replies
Percy
Percy•2y ago
Project ID: 0a0ceeba-0c50-489e-a570-bedcdd432d45
Adam
Adam•2y ago
Persistent storage is not offered by Railway, you'll have to use another option
Hazim
Hazim•2y ago
okay thank you time to use blobs in the db 😭