Skip to content

prelegalwonder/docker-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building the image:

1. clone this repo 
2. cd dockerfiles/haroopad
3. docker build --build-arg NODE_VERSION=0.10 -t haroopad:v1 -f Dockerfile .
4. if it completes successfully, you should see an image for it in: docker images

Running the image:

Something like:

docker run -d \
            --name haroopad \
            -e NODE_ENV=<env> \
            -e MY_BRANCH=<branch> \
            -p 8443:8443 \
            --link <mysql-container>:my-<env> \ 
            haroopad:v1

Check that it didn't exit with an error `docker ps -a`
Check logs `docker logs -f haroopad`

About

An example of a dockerized nodejs app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages