diff --git a/docs/Dockerfile/Dockerfile b/docs/Dockerfile/Dockerfile index 6d15fb6..608fff7 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