Skip to content

Commit d9ff28d

Browse files
authored
优化docker-compose,默认去除淘宝源 (flipped-aurora#1053)
* 优化docker-compose
1 parent 47b9bf8 commit d9ff28d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose-dev.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ services:
2424
depends_on:
2525
- server
2626
working_dir: /gva-web # 如果docker 设置了workdir 则此处不需要设置
27-
command: bash -c "yarn config set registry https://registry.npm.taobao.org --global && yarn install && yarn serve"
27+
#若网络不太好,请自行换源,如下
28+
#command: bash -c "yarn config set registry https://registry.npm.taobao.org --global && yarn install && yarn serve"
29+
command: bash -c "yarn install && yarn serve"
2830
volumes:
2931
- ./web:/gva-web
3032
networks:

0 commit comments

Comments
 (0)