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

Commit 41a2778

Browse files
committed
Added separate pm2 tags.
1 parent 8a8ffd9 commit 41a2778

File tree

4 files changed

+60
-1
lines changed

4 files changed

+60
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Docker-sails
22
============
33

4-
This Docker Container is based on https://github.com/docker-library/node and installs the latest stable version of [Sails.js](http://sailsjs.org/) to be used with [Sane Stack](https://github.com/artificialio/sane).
4+
This Docker Container is based on https://github.com/docker-library/node and installs the latest stable version of [Sails.js](http://sailsjs.org/) and is used with the [Sane Stack](https://github.com/artificialio/sane).
5+
6+
You have the docker tags `0.10.32` (fixed versions), `latest` (node 0.11 and latest dependencies), `stable` (node 0.10 and latest dependencies) as well as `0.10.32-pm2`, `latest-pm2` , `stable-pm2` which adds [PM2](https://github.com/Unitech/PM2) to manage your app.

node-0.10.32-pm2/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
############################################################
2+
# Dockerfile for Sane-stack to run sails.js API application
3+
############################################################
4+
5+
FROM node:0.10.32-slim
6+
7+
MAINTAINER Markus Padourek <markus@artificial.io>
8+
9+
RUN npm install -g sails@0.10.5 pm2@0.12.2 grunt bower npm-check-updates
10+
RUN mkdir /server
11+
12+
# Define mountable directories.
13+
VOLUME ["/server"]
14+
15+
# Define working directory.
16+
WORKDIR /server
17+
18+
# Expose ports.
19+
EXPOSE 1337

node-latest-pm2/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
############################################################
2+
# Dockerfile for Sane-stack to run sails.js API application
3+
############################################################
4+
5+
FROM node:0.11-slim
6+
7+
MAINTAINER Markus Padourek <markus@artificial.io>
8+
9+
RUN npm install -g sails grunt bower pm2 npm-check-updates
10+
RUN mkdir /server
11+
12+
# Define mountable directories.
13+
VOLUME ["/server"]
14+
15+
# Define working directory.
16+
WORKDIR /server
17+
18+
# Expose ports.
19+
EXPOSE 1337

node-stable-pm2/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
############################################################
2+
# Dockerfile for Sane-stack to run sails.js API application
3+
############################################################
4+
5+
FROM node:slim
6+
7+
MAINTAINER Markus Padourek <markus@artificial.io>
8+
9+
RUN npm install -g sails grunt bower pm2 npm-check-updates
10+
RUN mkdir /server
11+
12+
# Define mountable directories.
13+
VOLUME ["/server"]
14+
15+
# Define working directory.
16+
WORKDIR /server
17+
18+
# Expose ports.
19+
EXPOSE 1337

0 commit comments

Comments
 (0)