This is a very simple, bare-bones NodeJS and ExpressJS project created for you to use with Docker.
- Install dependencies:
npm install - Run server:
node server.js
By default, the application should be loaded on localhost:8080. It should provide an HTTP 200 response when loaded at localhost:8080/health.
- Build image:
docker build . - Run container with image:
docker run {image_id}whereimage_idcan be retrieved by runningdocker imagesand found under the columnIMAGE ID
- Remove container:
docker kill {container_id}wherecontainer_idcan be retrieved by runningdocker psand found under the columnCONTAINER ID