jbilcke-hf HF staff commited on
Commit
e8a65ce
1 Parent(s): 62c3e75

upgrade to node 20

Browse files
Files changed (3) hide show
  1. .nvmrc +1 -1
  2. Dockerfile +2 -2
  3. package-lock.json +9 -9
.nvmrc CHANGED
@@ -1 +1 @@
1
- v18.16.0
 
1
+ v20.9.0
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:18-alpine AS base
2
 
3
  # Install dependencies only when needed
4
  FROM base AS deps
@@ -62,4 +62,4 @@ EXPOSE 3000
62
 
63
  ENV PORT 3000
64
 
65
- CMD ["node", "server.js"]
 
1
+ FROM node:20-alpine AS base
2
 
3
  # Install dependencies only when needed
4
  FROM base AS deps
 
62
 
63
  ENV PORT 3000
64
 
65
+ CMD ["node", "server.js"]
package-lock.json CHANGED
@@ -164,9 +164,9 @@
164
  }
165
  },
166
  "node_modules/@eslint/eslintrc": {
167
- "version": "2.1.2",
168
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
169
- "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
170
  "dependencies": {
171
  "ajv": "^6.12.4",
172
  "debug": "^4.3.2",
@@ -2393,9 +2393,9 @@
2393
  }
2394
  },
2395
  "node_modules/caniuse-lite": {
2396
- "version": "1.0.30001559",
2397
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001559.tgz",
2398
- "integrity": "sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==",
2399
  "funding": [
2400
  {
2401
  "type": "opencollective",
@@ -3115,9 +3115,9 @@
3115
  }
3116
  },
3117
  "node_modules/electron-to-chromium": {
3118
- "version": "1.4.575",
3119
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.575.tgz",
3120
- "integrity": "sha512-kY2BGyvgAHiX899oF6xLXSIf99bAvvdPhDoJwG77nxCSyWYuRH6e9a9a3gpXBvCs6lj4dQZJkfnW2hdKWHEISg=="
3121
  },
3122
  "node_modules/emoji-regex": {
3123
  "version": "9.2.2",
 
164
  }
165
  },
166
  "node_modules/@eslint/eslintrc": {
167
+ "version": "2.1.3",
168
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz",
169
+ "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==",
170
  "dependencies": {
171
  "ajv": "^6.12.4",
172
  "debug": "^4.3.2",
 
2393
  }
2394
  },
2395
  "node_modules/caniuse-lite": {
2396
+ "version": "1.0.30001561",
2397
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz",
2398
+ "integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==",
2399
  "funding": [
2400
  {
2401
  "type": "opencollective",
 
3115
  }
3116
  },
3117
  "node_modules/electron-to-chromium": {
3118
+ "version": "1.4.576",
3119
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.576.tgz",
3120
+ "integrity": "sha512-yXsZyXJfAqzWk1WKryr0Wl0MN2D47xodPvEEwlVePBnhU5E7raevLQR+E6b9JAD3GfL/7MbAL9ZtWQQPcLx7wA=="
3121
  },
3122
  "node_modules/emoji-regex": {
3123
  "version": "9.2.2",