Skip to content
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.

A baseimage for Node.js applications, bundled with Nginx

Notifications You must be signed in to change notification settings

immense/node-docker-baseimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Node.js 0.12.x Baseimage

Usage

  • Create a Dockerfile in your nodejs application directory with the following content:

      FROM immense/node-baseimage
      ADD ./site.nginx.conf /etc/nginx/conf.d/default.conf
      ADD package.json bower.json /webapp/
    
      RUN npm install
      ADD . /webapp
    
      RUN npm run build
    

Note: It is assumed that in your applications entrypoint command, you will call nginx before starting your application.

About

A baseimage for Node.js applications, bundled with Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages