plsgivemeachane commited on
Commit
2c6a51a
·
1 Parent(s): 5773db4

change port and add intances

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. index.js +1 -1
Dockerfile CHANGED
@@ -18,4 +18,4 @@ RUN pm2 link dh102lf2c6i8vku 9ig4rtqbo0bznmv
18
 
19
  EXPOSE 7860
20
 
21
- CMD [ "pm2-runtime", "start", "index.js" ]
 
18
 
19
  EXPOSE 7860
20
 
21
+ CMD [ "pm2-runtime", "index.js", '-i', "4"]
index.js CHANGED
@@ -58,6 +58,6 @@ app.get("/ping", (req, res) => {
58
  res.sendStatus(200);
59
  })
60
 
61
- app.listen(3000, () => {
62
  console.log('server started');
63
  });
 
58
  res.sendStatus(200);
59
  })
60
 
61
+ app.listen(7860, () => {
62
  console.log('server started');
63
  });