Skip to content

Commit a8ca9f3

Browse files
authored
Merge pull request #12 from simonepri/master
Add support to more node.JS versions
2 parents 6d168f4 + 7c68630 commit a8ca9f3

File tree

4 files changed

+47
-4
lines changed

4 files changed

+47
-4
lines changed

4.7/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:4-alpine
2+
MAINTAINER Keymetrics <[email protected]>
3+
4+
RUN npm install pm2 -g
5+
6+
VOLUME ["/app"]
7+
8+
# Expose ports
9+
EXPOSE 80 443 43554
10+
11+
WORKDIR /app
12+
13+
# Start process.yml
14+
CMD ["pm2-docker", "start", "--auto-exit", "--env", "production", "process.yml"]

6.9/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:6-alpine
2+
MAINTAINER Keymetrics <[email protected]>
3+
4+
RUN npm install pm2 -g
5+
6+
VOLUME ["/app"]
7+
8+
# Expose ports
9+
EXPOSE 80 443 43554
10+
11+
WORKDIR /app
12+
13+
# Start process.yml
14+
CMD ["pm2-docker", "start", "--auto-exit", "--env", "production", "process.yml"]

7.4/Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:7-alpine
2+
MAINTAINER Keymetrics <[email protected]>
3+
4+
RUN npm install pm2 -g
5+
6+
VOLUME ["/app"]
7+
8+
# Expose ports
9+
EXPOSE 80 443 43554
10+
11+
WORKDIR /app
12+
13+
# Start process.yml
14+
CMD ["pm2-docker", "start", "--auto-exit", "--env", "production", "process.yml"]

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ $ docker pull keymetrics/pm2-docker-alpine
1414

1515
Versions available:
1616

17-
- keymetrics/pm2-docker-alpine:latest with Node.js 6
18-
- keymetrics/pm2-docker-alpine:4 with Node.js 4
19-
- keymetrics/pm2-docker-alpine:0.12 with Node.js 0.12
17+
- keymetrics/pm2-docker-alpine:latest with the latest version of Node.js
18+
- keymetrics/pm2-docker-alpine:7 with Node.js 7.4
19+
- keymetrics/pm2-docker-alpine:6 with Node.js 6.9
20+
- keymetrics/pm2-docker-alpine:4 with Node.js 4.7
2021

21-
These images are automatically built from the Docker hub based on this Github repository branch arrangement.
22+
These images are automatically built from the Docker hub based on this Github repository folder arrangement.
2223

2324
[Hub link](https://hub.docker.com/r/keymetrics/pm2-docker-alpine/)
2425

0 commit comments

Comments
 (0)