This is a React app bootstrapped with creat-react-app with configuration to build it into a Docker image
docker image build -t shivam:app .
(- To see the image, run
docker image ls shivam:app
docker container run -it -p 3000:3000 shivam:app
- Open the browser and go to 'http://localhost:3000' to see the app
docker container run -it -p 3000:3000 -p 35729:35729 -v $(pwd):/app shivam:app
docker container run -it -v $(pwd):/app shivam:app build
docker container run -it -v $(pwd):/app shivam:app test
- Simply run
docker pull shiang/react