Comment out npm registry configuration in Dockerfile
This commit is contained in:
parent
76363d0da7
commit
136070e02f
@ -20,7 +20,7 @@ RUN apk add --no-cache \
|
|||||||
g++
|
g++
|
||||||
|
|
||||||
# 配置npm使用国内镜像源
|
# 配置npm使用国内镜像源
|
||||||
RUN npm config set registry https://registry.npmmirror.com
|
# RUN npm config set registry https://registry.npmmirror.com
|
||||||
RUN npm -g i pnpm
|
RUN npm -g i pnpm
|
||||||
# 复制package.json和package-lock.json(如果存在)
|
# 复制package.json和package-lock.json(如果存在)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user