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. 5615
      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 src/ /app/
@ -18,7 +18,7 @@ RUN npm ci --production
# Copy build result to a new image.
# 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
# Move node_modules one directory up, so during development

4
package-lock.json

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

5615
src/package-lock.json

File diff suppressed because it is too large

14
src/package.json

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

Loading…
Cancel
Save