mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-04-03 16:10:35 +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 ./
|
COPY frontend/package.json ./
|
||||||
RUN npm i
|
RUN npm i --registry=https://registry.npmmirror.com
|
||||||
|
|
||||||
# 编译前端
|
# 编译前端
|
||||||
COPY frontend ./
|
COPY frontend ./
|
||||||
|
Loading…
Reference in New Issue
Block a user