8000 GitHub - aperezg/docker-node-web-app: The docker node server creates a container with the starter necessary tools for begin your node application.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The docker node server creates a container with the starter necessary tools for begin your node application.

License

Notifications You must be signed in to change notification settings

aperezg/docker-node-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for Node Express Web Server

Tags

The docker node server creates a container with the starter necessary tools for begin your node application.

To run

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

Run with docker compose

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

www folder

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.

Fork this repo

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

About

The docker node server creates a container with the starter necessary tools for begin your node application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0