- Create .dockerignore file
- Create nginx.conf file
- Create Dockerfile
- All in react-project root dir
- Now dockerize it
Build it with
sudo docker build . -t shivampip/rapp
Run it
sudo docker run -p 4000:80 shivampip/rapp
Push it
sudo docker push shivampip/rapp