Skip to content

TheCodeAddict1997/node-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// For building the docker image // /node-web-app is repository

docker build . -t /node-web-app

// To run the image

docker run -p 49160:8080 -d /node-web-app

// Printing the output

// retrieves container id and port number if running

docker ps

// then run this command to print logs of app

docker logs

// As we already have port number we can run localhost:{PORT_NUMBER} from postman or anywhere

About

Basic application of node to run on docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •