From d63e2f691ac938e6d27cf03fa00604c817c4b0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8E=89=E5=9D=A1?= Date: Mon, 28 Oct 2019 07:58:47 +0800 Subject: [PATCH] U - update dockerfile --- docs/Dockerfile/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Dockerfile/Dockerfile b/docs/Dockerfile/Dockerfile index 6d15fb69..608fff72 100644 --- a/docs/Dockerfile/Dockerfile +++ b/docs/Dockerfile/Dockerfile @@ -10,7 +10,7 @@ RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ && && pip install --no-cache-dir gunicorn \ && apk del .build-deps -RUN cd /spug/spug_web/ && npm i && npm run build \ +RUN cd /spug/spug_web/ && npm i --registry=https://registry.npm.taobao.org && npm run build \ && mv /spug/spug_web/dist /var/www/ ADD default.conf /etc/nginx/conf.d/default.conf