- latest Dockerfile
The docker node server creates a container with the starter necessary tools for begin your node application.
docker run --rm -p 80:8080 -v $PWD/www:/usr/src/app/www -v $PWD/package.json:/usr/src/app/package.json aperezg/node-web-app:latest
version: '2'
services:
php:
image: aperezg/node-web-app
ports:
- 80:8080
volumes:
- $PWD/www:/usr/src/app/www
- $PWD/package.json:/usr/src/app/package.json
This folder is where you add the source of your web application, is a docker volume and to start contain the server.js to run the node server.
If you think that you can improve this image, fork this repo, and send me a pull request. I'll be happy to add your new features.
This repository is under GNU v3.0 License