This commit is contained in:
2022-09-15 13:54:44 +02:00
parent 6b65afd15b
commit 9b74b86ffa
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
View File
@@ -14,7 +14,7 @@ let params = {
// shellPrompt: '', // or negotiationMandatory: false
negotiationMandatory: config.telnet.negotiationMandatory,
// timeout: config.telnet.timeout,
timeout: 10000,
timeout: 30000,
debug: true
}