From 881463268c70ad42e4bb9b089956471d7127da41 Mon Sep 17 00:00:00 2001 From: bluehorn07 Date: Thu, 16 Nov 2023 19:24:52 +0900 Subject: [PATCH] node v20 --- Dockerfile | 4 ++-- package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87ef4c6..067f31f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Buile Step -FROM node:18.18-alpine AS builder +FROM node:20.9-alpine AS builder WORKDIR /usr/src/app @@ -14,7 +14,7 @@ RUN npm run build RUN npm prune --production # Run Step -FROM node:18.18-alpine AS runner +FROM node:20.9-alpine AS runner WORKDIR /usr/src/app diff --git a/package-lock.json b/package-lock.json index b04b341..9df1134 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.13", "@types/jest": "^27.0.1", - "@types/node": "18.18", + "@types/node": "20.9", "@types/passport-jwt": "^3.0.13", "@types/passport-local": "^1.0.38", "@types/supertest": "^2.0.11", @@ -2507,9 +2507,9 @@ "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" }, "node_modules/@types/node": { - "version": "18.18.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.9.tgz", - "integrity": "sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==", + "version": "20.9.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", + "integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==", "dependencies": { "undici-types": "~5.26.4" } @@ -12182,9 +12182,9 @@ "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==" }, "@types/node": { - "version": "18.18.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.9.tgz", - "integrity": "sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==", + "version": "20.9.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.0.tgz", + "integrity": "sha512-nekiGu2NDb1BcVofVcEKMIwzlx4NjHlcjhoxxKBNLtz15Y1z7MYf549DFvkHSId02Ax6kGwWntIBPC3l/JZcmw==", "requires": { "undici-types": "~5.26.4" } diff --git a/package.json b/package.json index 6e99786..f99f7fd 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "@types/cookie-parser": "^1.4.3", "@types/express": "^4.17.13", "@types/jest": "^27.0.1", - "@types/node": "18.18", + "@types/node": "20.9", "@types/passport-jwt": "^3.0.13", "@types/passport-local": "^1.0.38", "@types/supertest": "^2.0.11",