build.sh 381 B

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