修改Dockerfile中pnpm镜像源,加快依赖拉去速度
This commit is contained in:
parent
7b81f6b824
commit
38f7b2d550
@ -5,6 +5,7 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
RUN npm config set registry https://registry.npmmirror.com
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user