0.0.4 • Published 2 years ago
docker_heelo v0.0.4
Hello World Dockerised Node.js application
Build the Docker image:
$docker build -t helloword .Run the Docker image:
$docker run -it hellowordRun Docker image with port binding:
docker run -it -p 8080:3000 -t helloworldBuild + run the Docker image with port binding:
docker build -t helloworld . && docker run -p 8080:3000 -it -t helloworldOnce running app is available on: http://localhost:8080/