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 WORKDIR /usr/src/app
# Copy package.json and package-lock.json (if available) # 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 # Install production dependencies
RUN npm install --production RUN npm install --production
# Copy the current directory contents into the container
COPY . .
# Set environment variables # Set environment variables
ENV PORT=2222 ENV PORT=2222
ENV DEBUG= ENV DEBUG=

View file

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