We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b2d67 commit 3fb422fCopy full SHA for 3fb422f
1 file changed
Dockerfile
@@ -16,9 +16,9 @@ ENV NODE_ENV=production
16
ENV API_PORT=3030
17
18
# start the application in a autohealing cluster
19
-#CMD NODE_ENV=production pm2 start server/index.js -n api -i 0 --attach
+CMD NODE_ENV=production pm2 start server/index.js -n api -i 2 --attach
20
# 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
+# CMD NODE_ENV=production node server/index.js
22
23
# create working directory
24
RUN mkdir -p /var/www/
0 commit comments