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

dkarlovi/docker-nginx-node-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker with Nginx, Node and PM2

Usage:

# install dependencies, might be moved to build too
npm install

# build images 
npm run-script build

# run a dev instance
# WILL mount local files (and pm2 will --watch the changes to restart)
npm run-script dev

# figure out your IP
npm run-script ip

# run a prod instance
# WILL NOT mount local files, only uses files embedded in the images
npm run-script prod

# monitor logs stream
npm run-script logs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published