Browse Source

Update Node libraries & Npm libraries

pull/209/head
ComasSky 3 years ago
parent
commit
f0e18d0f87
  1. 4
      Dockerfile
  2. 5615
      src/package-lock.json
  3. 14
      src/package.json

4
Dockerfile

@ -9,7 +9,7 @@
# # # #
# # # #
FROM docker.io/library/node:18.4.0-alpine@sha256:a27df330224bb16312064cc8653793d7438129c8ec6699ae523eb5baaa7f5fb4 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:18.4.0-alpine@sha256:a27df330224bb16312064cc8653793d7438129c8ec6699ae523eb5baaa7f5fb4 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

5615
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