未验证 提交 d9ff28d9 编写于 作者: T tscuite 提交者: GitHub

优化docker-compose,默认去除淘宝源 (#1053)

* 优化docker-compose
上级 47b9bf8b
......@@ -24,7 +24,9 @@ services:
depends_on:
- server
working_dir: /gva-web # 如果docker 设置了workdir 则此处不需要设置
command: bash -c "yarn config set registry https://registry.npm.taobao.org --global && yarn install && yarn serve"
#若网络不太好,请自行换源,如下
#command: bash -c "yarn config set registry https://registry.npm.taobao.org --global && yarn install && yarn serve"
command: bash -c "yarn install && yarn serve"
volumes:
- ./web:/gva-web
networks:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册