Authored by jimi.ji

Update docker.sh

@@ -2,10 +2,10 @@ @@ -2,10 +2,10 @@
2 wordir=$2 2 wordir=$2
3 cd $wordir 3 cd $wordir
4 rm -rf yoho-yohobuy-wap.tar.gz 4 rm -rf yoho-yohobuy-wap.tar.gz
5 -if [[ $1 == "TEST1" ]] || [[ $1 == "TEST2" ]] || [[ $1 == "TEST3" ]] 5 +if [[ $1 == "TEST1" ]] || [[ $1 == "TEST2" ]] || [[ $1 == "TEST3" ]];then
6 yarn 6 yarn
7 yarn build 7 yarn build
8 -then 8 +else
9 yarn --production 9 yarn --production
10 fi 10 fi
11 tar -czvf yoho-yohobuy-wap.tar.gz * 11 tar -czvf yoho-yohobuy-wap.tar.gz *