Browse Source

Merge pull request #4 from comassky/master

Update to current NodeJs, wireguard v1.0.20210914
pull/475/head
Peter Lewis 2 years ago
committed by GitHub
parent
commit
b80d098f85
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile
  2. 4
      package-lock.json
  3. 5543
      src/package-lock.json
  4. 14
      src/package.json

4
Dockerfile

@ -9,7 +9,7 @@
# # # #
# # # #
FROM docker.io/library/node:14-alpine@sha256:dc92f36e7cd917816fa2df041d4e9081453366381a00f40398d99e9392e78664 AS build_node_modules FROM docker.io/library/node:18-alpine@sha256:322324522205fc63cd431d893434e2fb2c0264cdc444bd9222df096e6774d2ca AS build_node_modules
# Copy Web UI # Copy Web UI
COPY src/ /app/ COPY src/ /app/
@ -18,7 +18,7 @@ RUN npm ci --production
# Copy build result to a new image. # Copy build result to a new image.
# This saves a lot of disk space. # This saves a lot of disk space.
FROM docker.io/library/node:14-alpine@sha256:dc92f36e7cd917816fa2df041d4e9081453366381a00f40398d99e9392e78664 FROM docker.io/library/node:18-alpine@sha256:322324522205fc63cd431d893434e2fb2c0264cdc444bd9222df096e6774d2ca
COPY --from=build_node_modules /app /app COPY --from=build_node_modules /app /app
# Move node_modules one directory up, so during development # Move node_modules one directory up, so during development

4
package-lock.json

@ -1,4 +0,0 @@
{
"version": "1.0.0",
"lockfileVersion": 1
}

5543
src/package-lock.json

File diff suppressed because it is too large

14
src/package.json

@ -12,15 +12,15 @@
"author": "Emile Nijssen", "author": "Emile Nijssen",
"license": "GPL", "license": "GPL",
"dependencies": { "dependencies": {
"debug": "^4.3.1", "debug": "^4.3.4",
"express": "^4.17.1", "express": "^4.18.1",
"express-session": "^1.17.1", "express-session": "^1.17.3",
"qrcode": "^1.4.4", "qrcode": "^1.5.1",
"uuid": "^8.3.2" "uuid": "^9.0.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.27.0", "eslint": "^8.24.0",
"eslint-config-athom": "^2.1.0" "eslint-config-athom": "^3.1.1"
}, },
"nodemonConfig": { "nodemonConfig": {
"ignore": [ "ignore": [

Loading…
Cancel
Save