Docker Upload file - Permission Denied

I’ve deployed my app to a docker server on EC2 (what a PITA!), the problem I am having is that in my app I upload an image.

When uploading, I’m getting a ‘permission denied’ error. If I update the permissions on the folder, it works correctly. The problem is that every time I redeploy, I need to remember to update the permissions on that folder.

Any suggestions?

Community Page
Last updated: