Skip to content

Commit

Permalink
U - update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyupo committed Oct 27, 2019
1 parent dc642d2 commit d63e2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Dockerfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d63e2f6

Please sign in to comment.