Public Repository

Last pushed: 2 years ago
Short Description
Base image for node apps
Full Description

This base image simplifies node app deployments. Uses foreverjs to watch the node process, and ships log using logstash-forwarder.

FROM cantireinnovations/node-app-base@node-v0.12.4_forever-v0.14.1_logstash-forwarder-v0.4.0

ENV NODE_APP_HOME=/opt/exampleSailsApp

COPY api $NODE_APP_HOME/api/
COPY config $NODE_APP_HOME/config/
COPY node_modules $NODE_APP_HOME/node_modules/
COPY .sailsrc app.js package.json README.md $NODE_APP_HOME/

RUN cd $NODE_APP_HOME && npm init

EXPOSE 80
Docker Pull Command
Owner
cantireinnovations

Comments (0)