React App on Docker Project

6 / 6

Hot Reload using volumes

We referenced local machine's folder to react-project in container using docker volumes. Now our changes will directly reflect on the website.

Our container is running so we can access the app in web browser with http://xx.xx.xx.xx:8000 Replace xx.xx.xx.xx with your web server IP.

Now stop the container. Change the code in src/App.js and restart container by docker-compose up then reload the page. Changes will reflect immediately.


No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...