git clone https://github.com/8pointers/node-js-workshop-exercises.git
cd node-js-workshop-exercises
npm install
node lib/01-hello-world
Starting with inspector enabled:
node --inspect lib/02-web-server/
If you use Chrome, either navigate to chrome://inspect or install Node.js V8 --inspector Manager (NiM) extension
To build the image:
docker build -t <your username>/node-web-app .
To run the image:
docker run -p 49160:3000 -d <your username>/node-web-app
docker ps
docker logs <container id>