This repo show how to setup Docker for Node.js for local development. For more info, see article on medium.
These instructions show how to clone and run the project.
git clone https://github.com/erzhtor/docker-for-local-nodejs-development.git
npm run docker:dev
No need to npm i
, because it runs in Docker container and caches until package.json or package-lock.json changes.
That's it! You can edit all contents, nodemon watch mode reruns an app in a docker container on the fly.