When using bind mounts or anonymous volumes, the node_modules folder is created on the host machine, but is n't the node_modules must be created inside the container?
when I run this command node_modules folder is created on my machine inside the project folder.
here is cmd:
docker run -p 3000:80 -d --name feedback-app -v feedback:/app/feedback -v "/home/rohan/Documents/DockerTut/03 - Managing Data & Working with Volumes/003 data-volumes-01-starting-setup/data-volumes-01-starting-setup:/app:ro" -v /app/node_modules -v /app/temp feedback-node-app:volumes

To avoid this, you can either ensure that the node_modules directory exists on the host machine at the specified mount point before starting the container, or you can include logic in your Dockerfile or entrypoint script to handle the presence or absence of the node_modules directory as needed.