I have pulled a node js image from the docker hub and with node express generator I generated a little sample site.
I want to create a volume inside a Docker container and map the site folder with that volume.
I want to run the node from the docker container.
I am using this command:
docker run -p 8003:3000 -v $(pwd):/var/www -w "/var/www" node npm start
Could anyone please help me out?