To be able to run ExpressJS development server in a Docker container, while doing active development + Hot Reload
- Ensure
docker cli
is installed. - Run
$ docker-compose up --build
- Visit https://localhost:3000/
- Change something in
src
directory , reload the above page and see it being reflected.
- Press
Ctrl+C
- Run
$ docker-compose down
- Run
$ npm run test