diff --git a/Dockerfile b/Dockerfile index 309f99c..9e456ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ # Stage 1: Build Stage FROM node:20 AS builder -# Install pnpm globally -RUN npm install -g pnpm@latest +# Set npm registry to Tencent Cloud +RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ \ + && npm install -g pnpm@latest + # Set the working directory inside the container WORKDIR /usr/src/app