Skip to content

Commit

Permalink
fix node v4/v6 with older pm2 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Apr 6, 2020
1 parent 9d12040 commit f4af754
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tags/4/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:4-alpine
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/4/jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:4
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/4/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:4-slim
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/4/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:4-stretch
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/4/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:4-wheezy
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/6/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:6-alpine
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/6/jessie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:6
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/6/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:6-slim
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/6/stretch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:6-stretch
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down
2 changes: 1 addition & 1 deletion tags/6/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:6-wheezy
LABEL maintainer="Keymetrics <[email protected]>"

# Install pm2
RUN npm install pm2 -g
RUN npm install pm2@3 -g

# Expose ports needed to use Keymetrics.io
EXPOSE 80 443 43554
Expand Down

0 comments on commit f4af754

Please sign in to comment.