Dockerize a Node.js app.
Watch the full Docker video on YouTube or read the Docker Tutorial on Fireship.io.
https://fireship.io/lessons/docker-basics-tutorial-nodejs/
docker build -t jiacheng111/nodejs-demo-app:1.0 .
nerdctl build -t jiacheng111/nodejs-demo-app:1.1 .
docker run --rm -p 5000:8080 jiacheng111/nodejs-demo-app:1.0
nerdctl run --rm -p 5000:8080 jiacheng111/nodejs-demo-app:1.1
--rm: This is the key flag. It tells Docker to automatically remove the container's file system when the container exits.
- go to http://localhost:5000
docker build -t jiacheng111/nodejs-demo-app:1.1 .
docker run --rm -p 5000:8080 jiacheng111/nodejs-demo-app:1.1



