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

Commit ed323df

Browse files
run with pm2 but on one core
1 parent e155714 commit ed323df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ ENV NODE_ENV=production
1616
ENV API_PORT=3030
1717

1818
# start the application in a autohealing cluster
19-
CMD NODE_ENV=production pm2 start server/index.js -n api -i 2 --attach
19+
CMD NODE_ENV=production pm2 start server/index.js -n api --attach
20+
# CMD NODE_ENV=production pm2 start server/index.js -n api -i 2 --attach
2021
# as we have issues with pm2 currently in conjunction with nuxt, we use the standard approach here
2122
# CMD NODE_ENV=production node server/index.js
2223

0 commit comments

Comments
 (0)