diff --git a/Dockerfile b/Dockerfile index cfa1917..1c2f11f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # 使用指定的 Node.js 版本作为基础镜像 FROM node:20.15.1 -RUN npm config set registry https://registry.npm.taobao.org/ +RUN npm config set registry https://registry.npmmirror.com # 全局安装 pm2 进程管理器 -RUN npm install -g pm2 +RUN npm install pm2 -g # 设置工作目录 WORKDIR /app