Skip to content

Commit f1e968d

Browse files
Finally fixed this time
1 parent c89c449 commit f1e968d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ ENV NODE_ENV=production
33

44
WORKDIR /app
55

6-
COPY package*.json
6+
RUN npm install pm2 -g
7+
8+
COPY package*.json .
79

810
RUN npm install
911

@@ -12,6 +14,4 @@ COPY index.js .
1214

1315
EXPOSE 3000
1416

15-
RUN npm install pm2 -g
16-
1717
CMD ["pm2-runtime", "index.js"]

0 commit comments

Comments
 (0)