From d0b1f5c8a83b2c5f9b2fff83bbec4cde0306cef1 Mon Sep 17 00:00:00 2001 From: bigfengyu Date: Thu, 31 Oct 2019 19:57:01 +0800 Subject: [PATCH] fix: dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c26ef9c..b17f586 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,13 @@ RUN apk --no-cache --virtual build-dependencies add \ python \ make \ g++ && \ - yarn config set registry https://registry.npm.taobao.org/ && \ + # 在国内打开下面一行加速 + # yarn config set registry https://registry.npm.taobao.org/ && \ yarn install && \ apk del build-dependencies && \ yarn global add typescript && \ yarn run lint && \ - SERVE_URL=http://localhost:8080 yarn run build + yarn run build # nginx FROM nginx:stable-alpine