Skip to content
This repository was archived by the owner on Apr 27, 2018. It is now read-only.

Commit a57fa7c

Browse files
committed
Merge pull request #1 from kriswill/feature/remove-pm2
Remove pm2, Add npm-check-updates
2 parents 4872cfb + cdcffe0 commit a57fa7c

File tree

4 files changed

+10
-37
lines changed

4 files changed

+10
-37
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Docker-sails
22
============
33

4-
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.
4+
This Docker Container is installing the latest version of [Sails.js](http://sailsjs.org/).
55
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/)
66

77
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.

node-0.10.32/Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
11
############################################################
2-
# Dockerfile to that builds on top of nginx to run
3-
# a sails app with PM2
2+
# Dockerfile for Sane-stack to run sails.js API application
43
############################################################
54

6-
75
FROM node:0.10.32-slim
86

97
MAINTAINER Markus Padourek <markus@artificial.io>
108

11-
RUN npm install -g pm2@0.11.1 sails@0.10.5 grunt bower
9+
RUN npm install -g sails@0.10.5 grunt bower npm-check-updates
1210
RUN mkdir /server
1311

14-
#installs nginx to /usr/sbin/nginx
15-
#conf file is at /etc/nginx/nginx.conf
16-
1712
# Define mountable directories.
1813
VOLUME ["/server"]
1914

2015
# Define working directory.
2116
WORKDIR /server
2217

23-
# Define default command.
24-
#CMD ["pm2"]
25-
2618
# Expose ports.
27-
EXPOSE 1337
28-
EXPOSE 3000
19+
EXPOSE 1337

node-latest/Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
11
############################################################
2-
# Dockerfile to that builds on top of nginx to run
3-
# a sails app with PM2
2+
# Dockerfile for Sane-stack to run sails.js API application
43
############################################################
54

6-
75
FROM node:0.11-slim
86

97
MAINTAINER Markus Padourek <markus@artificial.io>
108

11-
RUN npm install -g pm2 sails grunt bower
9+
RUN npm install -g sails grunt bower npm-check-updates
1210
RUN mkdir /server
1311

14-
#installs nginx to /usr/sbin/nginx
15-
#conf file is at /etc/nginx/nginx.conf
16-
1712
# Define mountable directories.
1813
VOLUME ["/server"]
1914

2015
# Define working directory.
2116
WORKDIR /server
2217

23-
# Define default command.
24-
#CMD ["pm2"]
25-
2618
# Expose ports.
27-
EXPOSE 1337
28-
EXPOSE 3000
19+
EXPOSE 1337

node-stable/Dockerfile

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
11
############################################################
2-
# Dockerfile to that builds on top of nginx to run
3-
# a sails app with PM2
2+
# Dockerfile for Sane-stack to run sails.js API application
43
############################################################
54

6-
75
FROM node:slim
86

97
MAINTAINER Markus Padourek <markus@artificial.io>
108

11-
RUN npm install -g pm2 sails grunt bower
9+
RUN npm install -g sails grunt bower npm-check-updates
1210
RUN mkdir /server
1311

14-
#installs nginx to /usr/sbin/nginx
15-
#conf file is at /etc/nginx/nginx.conf
16-
1712
# Define mountable directories.
1813
VOLUME ["/server"]
1914

2015
# Define working directory.
2116
WORKDIR /server
2217

23-
# Define default command.
24-
#CMD ["pm2"]
25-
2618
# Expose ports.
27-
EXPOSE 1337
28-
EXPOSE 3000
19+
EXPOSE 1337

0 commit comments

Comments
 (0)