build.sh 125 字节
Newer Older
杨龙伟 已提交
1 2 3 4 5 6
TAG=${1:-latest}

rm -f lottery.tar.gz
tar -czvf lottery.tar.gz ../lottery/
docker build -t lottery:$TAG  -f ./Dockerfile .