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

Commit 3fb422f

Browse files
use two threads
1 parent b0b2d67 commit 3fb422f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ 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 0 --attach
19+
CMD NODE_ENV=production pm2 start server/index.js -n api -i 2 --attach
2020
# as we have issues with pm2 currently in conjunction with nuxt, we use the standard approach here
21-
CMD NODE_ENV=production node server/index.js
21+
# CMD NODE_ENV=production node server/index.js
2222

2323
# create working directory
2424
RUN mkdir -p /var/www/

0 commit comments

Comments
 (0)