diff --git a/Dockerfile b/Dockerfile index a6e34ff7..afe34e59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN npm config set registry https://registry.npmmirror.com RUN npm install -g pnpm # 清理 pnpm store 并安装依赖 RUN pnpm store prune || true -RUN pnpm install --frozen-lockfile +RUN pnpm install # Rebuild the source code only when needed FROM hub.diyla.com/node:${NODE_IMAGE_VERSION} AS builder