Issue with Docker permissions


When I try to access my app, I get a permission denied error on /var/www/storage

I changed my docker-compose to user: 1000:1000 which is the UID of www-data
I checked my permissions inside the container and www-data owns every directory under www, but not var.

How can I fix my Dockerfile so I have correct permissions? Thank you.