From 4a9d4664e6e2f8070cf99a452cbac6ab7d5aaaa7 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Wed, 21 Aug 2024 11:46:36 +0800 Subject: [PATCH] ci/cd --- docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.sh b/docker.sh index 5ac25d6..b14b9a9 100644 --- a/docker.sh +++ b/docker.sh @@ -10,7 +10,7 @@ echo ${app_version} echo '----build image start----' docker build -t smartopsweb:latest . echo '----build image success----' -docker rm -f +docker rm -f smartopsweb docker rmi smartopsweb:latest docker run --name smartopsweb -d -p 8080:80 smartopsweb:latest