- Run this below command to make a image
docker build -t react-app-dev -f Dockerfile.dev .- Start the Container using this command
docker run -it -d -p 3000:3000 -v $(pwd):/app react-app-devdocker build -t react-app-prod -f Dockerfile.prod .- Run this command to start the container
docker run -it -d -p 80:80 react-app-proddocker-compose -f docker-compose.dev.yml updocker-compose -f docker-compose.prod.yml up