/CMS_CLOUD_DA-TEST-SEM-5-

containers, docker images, finding cube of a side; microservice...

Primary LanguageJavaScript

CMS_CLOUD_DA-TEST-SEM-5


(This part is for lab midterm exam)

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

img1

img2

img3

(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

img4