diff --git a/Dockerfile b/Dockerfile index 8dadc71..cfa1917 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ # 使用指定的 Node.js 版本作为基础镜像 FROM node:20.15.1 +RUN npm config set registry https://registry.npm.taobao.org/ + # 全局安装 pm2 进程管理器 RUN npm install -g pm2