Permission error on react docker project : EACCES: permission denied, mkdir ‘/app/node_modules/.cache’

  docker, docker-compose, reactjs

Good evening I created a react project, with a docker file, and a docker-composes file but when the dockerfile build there is a permission error in the node_module foalder located in the container.

_1 | Failed to compile.
web_1 |
web_1 | EACCES: permission denied, mkdir ‘/app/node_modules/.cache’

enter image description here

Source: Docker Questions