React App on Docker Project

4 / 6

Run the app in container

By default, react app runs on port 3000. We will map the local machine port 8000 to container port 3000.

INSTRUCTIONS
docker run -it -p 8000:3000 react-project

Now access the app in your web browser with http://xx.xx.xx.xx:8000 Replace xx.xx.xx.xx with your web server IP

Note - Make sure that port 8000 of your AWS instance is open. You can edit the inbound rules of the security group to open/close any port.

enter image description here


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...