build shell

This commit is contained in:
dengqn 2024-07-23 00:21:37 +08:00
parent 20c3b2d58f
commit 8b2602f17f
1 changed files with 6 additions and 0 deletions

6
build_run.sh Normal file
View File

@ -0,0 +1,6 @@
mvn clean package
docker stop igpsport2xingzhe
docker rm igpsport2xingzhe
docker rmi igpsport2xingzhe:v1
docker build -t igpsport2xingzhe:v1 .
docker run -d --name igpsport2xingzhe -v /root/apps/igpsport2xingzhe-java/data:/data -p 18877:18877 igpsport2xingzhe:v1