1

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

Ilyes Elayeb
  • 115
  • 1
  • 10
  • I just started to learn docker and if I understood well the folder /app is in the container which is the instance of the image, I only have access to the app folder from the dockerfile. – Ilyes Elayeb Mar 02 '21 at 21:13
  • See this: [Docker - “Error: EACCES: permission denied, mkdir '/project/node_modules/.cache/@babel'”](https://stackoverflow.com/q/55926705/2873538) – Ajeet Shah Mar 02 '21 at 21:29

0 Answers0