Public Repository

Last pushed: 2 years ago
Short Description
Simple docker file that starts a node web server using forever
Full Description

It starts /projects/server.js and then after deployment you can make a volume like this
docker run -v /local-project:/project .... that will replace this /project folder and if you have server.js * doing all the web work you are good to go, you can now make changes in your host and forever will auto restart your web server for development. This works well with vagrant, docker toolbox needs to be improved at the time of this writing.

  • I use express-generator but combine .bin/www and server.js into a single file server.js so it is easier to type to start.

You can see source code here https://bitbucket.org/avanlaningham/vagrant-docker-starter

Docker Pull Command
Owner
zuz9