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