skip pm2
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ FROM alpine:3.16
|
||||
RUN apk update
|
||||
RUN apk add make gcc python3 expat-static expat-dev libxmlb-dev libstdc++6 nodejs nodejs-dev libc-dev g++ libpq libpq-dev yarn
|
||||
# RUN yarn install -g serve
|
||||
RUN yarn global add pm2
|
||||
# RUN yarn global add pm2
|
||||
|
||||
RUN mkdir -p /usr/share/prosody-muc-rest
|
||||
RUN mkdir -p /usr/share/prosody-muc-rest/config
|
||||
@@ -17,4 +17,4 @@ RUN cd /usr/share/prosody-muc-rest && yarn install
|
||||
|
||||
#RUN npm install /usr/share/prosody-muc-rest/app
|
||||
|
||||
ENTRYPOINT ["pm2-runtime", "/usr/share/prosody-muc-rest/app/app.js"]
|
||||
ENTRYPOINT ["/usr/bin/node", "/usr/share/prosody-muc-rest/app/app.js"]
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ let params = {
|
||||
// shellPrompt: '', // or negotiationMandatory: false
|
||||
negotiationMandatory: config.telnet.negotiationMandatory,
|
||||
// timeout: config.telnet.timeout,
|
||||
timeout: 10000,
|
||||
timeout: 30000,
|
||||
debug: true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user