This repository has been archived by the owner on Apr 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from kriswill/feature/remove-pm2
Remove pm2, Add npm-check-updates
- Loading branch information
Showing
4 changed files
with
10 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <markus@artificial.io> | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <markus@artificial.io> | ||
|
||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <markus@artificial.io> | ||
|
||
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 |