diff --git a/.nvmrc b/.nvmrc index 67e145b..953490f 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.18.0 +v20.20.0 diff --git a/Dockerfile b/Dockerfile index d928e53..eb78754 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.18.0 AS ui-build +FROM node:20.20.0 AS ui-build WORKDIR /build @@ -14,7 +14,7 @@ RUN chmod -R g=u /build/dist # # build node app in the next stage # -FROM node:20.18.0-alpine +FROM node:20.20.0-alpine LABEL maintainer="ming luo" diff --git a/README.md b/README.md index b1cc03b..7716f0f 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ Use these versions of node and npm: $ npm -v 10.8.0 $ node -v -v20.18.0 +v20.20.0 ``` In order to easily manage your node and npm versions across developer machines, we use [nvm](https://github.com/nvm-sh/nvm). We set the node version in the [.nvmrc](./.nvmrc) file. In order to set up your environment, open a shell, change to the project directory, and run the following: diff --git a/dashboard/package.json b/dashboard/package.json index e479ffd..86228a7 100644 --- a/dashboard/package.json +++ b/dashboard/package.json @@ -97,7 +97,7 @@ "moment": "^2.29.4" }, "engines": { - "node": "^20.18.0", + "node": "^20.20.0", "npm": "^10.8.0" }, "gitHooks": { diff --git a/server/package.json b/server/package.json index 96a690e..d0e1502 100644 --- a/server/package.json +++ b/server/package.json @@ -4,7 +4,7 @@ "description": "backend of dashboard", "main": "server.js", "engines": { - "node": "^20.18.0", + "node": "^20.20.0", "npm": "^10.8.0" }, "scripts": {