From a2d53b65b31e71f7957b024ed8171fec92ae998e Mon Sep 17 00:00:00 2001 From: IlhamTahir Date: Sun, 17 Nov 2024 15:03:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E8=85=BE=E8=AE=AF?= =?UTF-8?q?=E9=95=9C=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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