Преглед на файлове

fix: dockerfile中的镜像

IlhamTahir преди 1 година
родител
ревизия
235ca8c4aa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -24,7 +24,7 @@ RUN pnpm run build
 FROM node:22 AS production
 
 # Set npm registry to Tencent Cloud and install pnpm globally
-RUN pnpm config set registry https://mirrors.cloud.tencent.com/npm/ \
+RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ \
             && npm install -g pnpm@latest
 
 # Set the working directory inside the container