Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

NodeJS Dockerfile

This Docker image supports:

  • Bower for dependency management.
  • Gulp for task automation.
  • Coffee-Script for compile coffe files.
  • PM2 for Process Management for NodeJS applications.

Running

Your need to create at least two volumes. One directory for your application files and other one for script files on the path /scripts. The scripts directory must have a run.sh in that script put the commands you need to get your application running.
The container will expose the port 8000.

For instance you can create a script with these commands:

cd /apps/myapp
bower install --config.interactive=false --allow-root
npm install
gulp compile
pm2 start app.js
Docker Pull Command
Owner
brorlandi
Source Repository