@ -30,7 +30,7 @@ steps:
- cd /mnt/app/build/docker
- chmod +x deploy.sh
- sh deploy.sh stop
- sh deploy.sh rm
- sh deploy.sh build
- sh deploy.sh module
- docker ps
@ -53,6 +53,10 @@ rm(){
docker-compose rm ds-gateway ds-miniapps
}
build(){
docker-compose build ds-gateway ds-miniapps
# 根据输入参数,选择执行对应方法,不输入则执行使用说明
case "$1" in
@ -77,6 +81,9 @@ case "$1" in
"rmbase")
rmbase
;;
"build")
build
*)
usage