#!/bin/bash
TAG="latest"
docker stop chinaport-data-signature && docker rm -f chinaport-data-signature
docker rmi -f weasleyj/chinaport-data-signature:${TAG}
docker build -t weasleyj/chinaport-data-signature:${TAG} . -f ./Dockerfile
docker login -u weasleyj
docker push weasleyj/chinaport-data-signature:${TAG}
exit 0
