lottery/build.sh
2023-03-20 06:04:24 +08:00

7 lines
125 B
Bash
Executable File

TAG=${1:-latest}
rm -f lottery.tar.gz
tar -czvf lottery.tar.gz ../lottery/
docker build -t lottery:$TAG -f ./Dockerfile .