feat: Switch User or reauth feature for Basic Auth sessions

feat: update webssh2 to 0.2.22
This commit is contained in:
Bill Church 2024-08-19 19:00:45 +00:00
parent a530f59704
commit 3e45c98c62
No known key found for this signature in database
2 changed files with 25 additions and 1 deletions

24
Dockerfile Normal file
View file

@ -0,0 +1,24 @@
# Use an official Node.js 6.9.1 runtime as a parent image
FROM node:6.9.1-slim
# Set the working directory in the container
WORKDIR /usr/src/app
# Copy package.json and package-lock.json (if available)
COPY package*.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=
# Make port 2222 available to the world outside this container
EXPOSE 2222
# Run the app when the container launches
CMD ["npm", "start"]

View file

@ -43,7 +43,7 @@
"socket.io": "~2.2.0", "socket.io": "~2.2.0",
"ssh2": "~0.8.9", "ssh2": "~0.8.9",
"validator": "^13.12.0", "validator": "^13.12.0",
"webssh2_client": "^0.2.21" "webssh2_client": "^0.2.22"
}, },
"scripts": { "scripts": {
"start": "node index.js", "start": "node index.js",