Skip to content

vijayapalponram/nodejs-web-app-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-web-app-learning

Pre-requisites

Running locally

Install

Run the below command to install the dependencies.

npm install

Serve

Run the below command to serve the application.

npm start

Dockerization

You can run this nodejs application insider a docker.

Building your image

Please run the below command for creating docker image from the root folder

docker build . -t vijayapal/nodejs-web-app-learning

Run the image

Running your image with -d runs the container in detached mode, leaving the container running in the background. The -p flag redirects a public port to a private port inside the container.

docker run -p 49160:8080 -d vijayapal/nodejs-web-app-learning

Test

Test the application by using the url http://localhost:49160

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published