Authored by jimi.ji

Update docker.sh

#!/bin/bash
wordir=$2
needBuild=$1
cd $wordir
rm -rf yoho-shop-manage.tar.gz
yarn
if [[ $1 == "test1" ]] || [[ $1 == "test2" ]] || [[ $1 == "test3" ]]
then
yarn build
yarn --production=false
if [ "$needBuild" == "YES" ];then
yarn build
fi
tar -czf yoho-shop-manage.tar.gz *
\ No newline at end of file
yarn build:node --build=$needBuild
/usr/local/bin/node-prune ./dist/node/node_modules
... ...