From f0152daf8e480ab94500b0ed028fba7d3314037e Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 16:11:27 +0800 Subject: [PATCH] =?UTF-8?q?yarn=E4=BD=BF=E7=94=A8=E6=B7=98=E5=AE=9D?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4167217..c75190d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,8 @@ WORKDIR /app RUN git clone git@gogs.kirito.cool:panqihua/RiskCloudRun.git WORKDIR /app/RiskCloudRun #安装依赖 +#使用淘宝镜像源 +RUN yarn global add yrm && yrm use taobao RUN yarn #设置工作目录 WORKDIR /app