mirror of
https://github.com/xfgryujk/blivechat.git
synced 2024-12-25 20:30:28 +08:00
docker build时NPM使用镜像
This commit is contained in:
parent
187d45e6d9
commit
75938141f0
@ -8,7 +8,7 @@ WORKDIR "${BASE_PATH}/frontend"
|
||||
|
||||
# 前端依赖
|
||||
COPY frontend/package.json ./
|
||||
RUN npm i
|
||||
RUN npm i --registry=https://registry.npmmirror.com
|
||||
|
||||
# 编译前端
|
||||
COPY frontend ./
|
||||
|
Loading…
Reference in New Issue
Block a user