#!/bin/bash
#sudo git pull http://linxiaozhe:792724060@47.98.126.18:10080/linxiaozhe/FqWechatService.git
#sudo git pull http://gaochuan:Test123456!@47.96.66.225:10080/gaochuan/FqWechatService.git
sudo mvn clean package -Dmaven.test.skip=true
sudo docker build -t wechat-service .
sudo docker rm -f wechat-service
sudo docker run -d -p 9688:9688 --name=wechat-service wechat-service