Sign inSign up

daverendon/contoso-app

By daverendon

•Updated over 6 years ago

simple node js app

Image
0

133

daverendon/contoso-app repository overview

⁠Sample nodejs application with docker Conatiner

⁠Installation


    // clone the application with git clone

    // then install the npm modules using
     
    npm install


⁠Running the application



    node server.js


⁠Building docker image


    docker build -t <imagename:version> .

⁠Running docker container


    // 9005 port is given since the docker file contains 9005 port
    docker run -it -d -p <outside-port-of-your-choice>:9005 <imagename:version>

Tag summary

Content type

Image

Digest

Size

19 MB

Last updated

over 6 years ago

docker pull daverendon/contoso-app