Folder permission and hot reload with docker

Good afternoon sirs,

I am trying to create a development environment using the docker for VueJS, however, I am parting with some difficulties:

  1. After creating a volume for storing application files, you will have permission issues and will not be able to edit or delete the files;

  2. I don’t know how to keep my application running on hot reload.

can anybody help me?

Docker Compose
https://pastebin.com/s6kevM0h?fbclid=IwAR2RmbUCYrl3eIXobC2VZ62YqjB-94dY-FNOEt4_xQBEyHvvUC5PPbOCTKw

Dockerfile
https://pastebin.com/M38xpEzD