瀏覽代碼

fix: add repsitory

IlhamTahir 1 年之前
父節點
當前提交
42a2ac0984
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -2,8 +2,9 @@
 FROM node:20 AS builder
 
 # Install pnpm globally
-RUN corepack enable && corepack prepare pnpm@latest --activate
-
+RUN corepack enable \
+  && npm config set registry https://registry.npmmirror.com \
+  && corepack prepare pnpm@latest --activate
 # Set the working directory inside the container
 WORKDIR /usr/src/app