mirror of https://github.com/openspug/spug
U - update dockerfile
parent
dc642d284a
commit
d63e2f691a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue