Strapi v4 deploy on DigitalOcean overwrites the uploads folder including the images

I’m going to guess that it runs in a container when it starts, meaning it kills what is inside public/uploads.
You will need to use S3 or other storage options.
Or bind mount the folder to a physical disk etc so it persists container restarts