From 062aa4dd19f3092b94a26e6aeffe2104455382e6 Mon Sep 17 00:00:00 2001 From: liangzai <2440983361@qq.com> Date: Tue, 29 Oct 2024 17:32:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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