소스 검색

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