diff --git a/Dockerfile b/Dockerfile index 7e39b1d..456fd8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN npm config set registry https://registry.npmmirror.com COPY package.json ./ # 安装所有依赖 -RUN npm install --legacy-peer-deps +RUN npm install # 复制源代码 COPY . .