From cdcffe06aba9da6ec856931a5ace0e98d00642d8 Mon Sep 17 00:00:00 2001 From: Kris Williams Date: Sun, 21 Dec 2014 16:29:44 -0800 Subject: [PATCH] Remove pm2, Add npm-check-updates --- README.md | 2 +- node-0.10.32/Dockerfile | 15 +++------------ node-latest/Dockerfile | 15 +++------------ node-stable/Dockerfile | 15 +++------------ 4 files changed, 10 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 55faa40..61f418a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Docker-sails ============ -This Docker Container is installing the latest version of [Sails](http://sailsjs.org/) as well as [PM2](https://github.com/Unitech/PM2) to manage the app. +This Docker Container is installing the latest version of [Sails.js](http://sailsjs.org/). This is still WIP and is meant to be rolled into [sane](https://github.com/artificialio/sane)/[sane-cli](https://github.com/artificialio/sane-cli) together with https://github.com/artificialio/docker-gen-nginx and [Fig](http://www.fig.sh/) sane-cli and fig together will give you an ecosystem, to get your fullstack app started immensly fast, make it completely customizable (you can easily choose MySQL/MongoDB/etc.) and deployable as-is. diff --git a/node-0.10.32/Dockerfile b/node-0.10.32/Dockerfile index e16a839..9ee6659 100644 --- a/node-0.10.32/Dockerfile +++ b/node-0.10.32/Dockerfile @@ -1,28 +1,19 @@ ############################################################ -# Dockerfile to that builds on top of nginx to run -# a sails app with PM2 +# Dockerfile for Sane-stack to run sails.js API application ############################################################ - FROM node:0.10.32-slim MAINTAINER Markus Padourek -RUN npm install -g pm2@0.11.1 sails@0.10.5 grunt bower +RUN npm install -g sails@0.10.5 grunt bower npm-check-updates RUN mkdir /server -#installs nginx to /usr/sbin/nginx -#conf file is at /etc/nginx/nginx.conf - # Define mountable directories. VOLUME ["/server"] # Define working directory. WORKDIR /server -# Define default command. -#CMD ["pm2"] - # Expose ports. -EXPOSE 1337 -EXPOSE 3000 +EXPOSE 1337 \ No newline at end of file diff --git a/node-latest/Dockerfile b/node-latest/Dockerfile index 640cf33..bb2a092 100644 --- a/node-latest/Dockerfile +++ b/node-latest/Dockerfile @@ -1,28 +1,19 @@ ############################################################ -# Dockerfile to that builds on top of nginx to run -# a sails app with PM2 +# Dockerfile for Sane-stack to run sails.js API application ############################################################ - FROM node:0.11-slim MAINTAINER Markus Padourek -RUN npm install -g pm2 sails grunt bower +RUN npm install -g sails grunt bower npm-check-updates RUN mkdir /server -#installs nginx to /usr/sbin/nginx -#conf file is at /etc/nginx/nginx.conf - # Define mountable directories. VOLUME ["/server"] # Define working directory. WORKDIR /server -# Define default command. -#CMD ["pm2"] - # Expose ports. -EXPOSE 1337 -EXPOSE 3000 +EXPOSE 1337 \ No newline at end of file diff --git a/node-stable/Dockerfile b/node-stable/Dockerfile index da75498..f3605c7 100644 --- a/node-stable/Dockerfile +++ b/node-stable/Dockerfile @@ -1,28 +1,19 @@ ############################################################ -# Dockerfile to that builds on top of nginx to run -# a sails app with PM2 +# Dockerfile for Sane-stack to run sails.js API application ############################################################ - FROM node:slim MAINTAINER Markus Padourek -RUN npm install -g pm2 sails grunt bower +RUN npm install -g sails grunt bower npm-check-updates RUN mkdir /server -#installs nginx to /usr/sbin/nginx -#conf file is at /etc/nginx/nginx.conf - # Define mountable directories. VOLUME ["/server"] # Define working directory. WORKDIR /server -# Define default command. -#CMD ["pm2"] - # Expose ports. -EXPOSE 1337 -EXPOSE 3000 +EXPOSE 1337 \ No newline at end of file