A Better Way to Develop Node.js with #docker
▻https://hackernoon.com/a-better-way-to-develop-node-js-with-docker-cd29d3a0093?source=rss----3a
And Keep Your Hot Code ReloadingLicensed from Adobe Stock PhotoI’ve seen a lot of articles lately suggesting how to use Docker for development. I haven’t seen one yet that does it correctly.Obviously, correctly, is subjective, but I’d like to compare the typical wisdom, vs. how I usually approach the problem.The Conventional WisdomIn many tutorials, the first thing introduced is the Dockerfile.At the foundation of any Dockerized application, you will find a Dockerfile — ▻https://blog.codeship.com/using-docker-compose-for-nodejs-development/It apparently, is the foundation.The first several results on Google all suggest the first thing you need is a Dockerfile, as well.After all, how can you have a Docker environment without creating a Dockerfile?I’m here to tell that while this is true for (...)
#docker-compose #software-development #nodejs #nodejs-and-docker