Simple hello world node app.
- Build the image:
docker build -t node-hello-world:latest .
- Run the image:
docker run -d --name node-hello-world -p 8080:8080 node-hello-world:latest
- Test:
- Browse to http://localhost:8080 in your favorite browser.
- Can you change the port inside the docker image to
5050
?