Docker gives developers the ability to package all of their applications inside of containers. These containers can run on any machine that has Doc...
For further actions, you may consider blocking this person and/or reporting abuse
Great article! How do you recommend approaching a similar setup that supports restarting on file changes? Not necessarily a hot reload (although that would be nice too) but just a way to not have to kill and restart the entire container if you need to make an edit to the client or server while running.
Auto reload already works for the React client frontend. I just updated the article with a new section (Optional) Using Nodemon to have the server auto restart when changes occur.
Nodemon will give you the ability to have changes auto update on the backend too!
👏
Quality stuff as always! 🤘
Thanks!
Valuable and timely
Thanks!
You wrote a great article. I use docker-compose (poorly) for some Angular and React apps I develop. I had never heard of nodemon and will check that out. I like how clean your build files are.
Thank you for sharing this article!
Thanks Andrew , for sharing this. I was looking for the same thing for my current product 🙂.
Great timing I hope it helps.
Great!!!
Can anyone say, what is the difference it make when we use docker?
Why are we adding run script in package.json in backend when we have defined CMD [ node app.js ] in dockerfile itself ?
Why do you use a higher node version for the client?