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