This is a very simple, bare-bones NodeJS project created for you to use with Docker.
- Install dependencies:
npm install - Run server:
node server.js
- 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