Cube of number get/post request app. (For CMS Lab VIT)
Steps followed
npm init
npm install express body-parser
npm install nodemon
To run the app :
nodemon server.js
The app runs at localhost:3000
(sample container & ubuntu image... added ~ post exam for future reference) Commands used:
docker image build -t test:latest .
docker container run -d --name CMStest --publish 8080:8080 test:latest
type .\Dockerfile