chore: update Dockerfile

This commit is contained in:
Bill Church 2024-08-19 19:42:10 +00:00
parent e3ec6f08eb
commit 5cf06dd46e
No known key found for this signature in database
2 changed files with 17 additions and 21 deletions

View file

@ -5,14 +5,15 @@ FROM node:6.9.1-slim
WORKDIR /usr/src/app
# Copy package.json and package-lock.json (if available)
COPY package*.json ./
COPY package*.json index.js ./
COPY app/ ./app/
COPY config.json.sample config.json
# Install production dependencies
RUN npm install --production
# Copy the current directory contents into the container
COPY . .
# Set environment variables
ENV PORT=2222
ENV DEBUG=

View file

@ -4,25 +4,23 @@
"port": 2222
},
"http": {
"origins": ["*:*"]
"origins": ["*.*"]
},
"user": {
"name": null,
"password": null
"password": null,
"privatekey": null
},
"ssh": {
"host": null,
"port": 22,
"localAddress": null,
"localPort": null,
"term": "xterm-color",
"readyTimeout": 20000,
"keepaliveInterval": 120000,
"keepaliveCountMax": 10
},
"terminal": {
"cursorBlink": true,
"scrollback": 10000,
"tabStopWidth": 8,
"bellStyle": "sound"
"keepaliveCountMax": 10,
"allowedSubnets": []
},
"header": {
"text": null,
@ -30,7 +28,10 @@
},
"options": {
"challengeButton": true,
"allowReauth": false
"autoLog": false,
"allowReauth": true,
"allowReconnect": true,
"allowReplay": true
},
"algorithms": {
"kex": [
@ -60,11 +61,5 @@
"zlib@openssh.com",
"zlib"
]
},
"serverlog": {
"client": false,
"server": false
},
"accesslog": false,
"verify": false
}
}