How to Use
Create a Dockerfile in the root of your project (where your package.json lives) and configure it as such:
FROM jwzirilli/nodejs # Set this to the port your app runs on EXPOSE 3000
Then build and run your container with:
$ docker build -t my-node-app . $ docker run -d -p 3000:3000 my-node-app
This image assumes that your package.json lists all dependencies and contains a "start" script. Forever is installed on the image if you would like to use it to start your app.