|
@@ -6,7 +6,7 @@ link_oracle=oracle11g
|
|
|
server_port=9888
|
|
|
if [ -f "target/hsweb-web-run-1.0-SNAPSHOT.jar" ]; then
|
|
|
container_id=$(docker ps | grep "${container_name}" | awk '{print $1}')
|
|
|
- if [ "container_id" != "" ];then
|
|
|
+ if [ "${container_id}" != "" ];then
|
|
|
docker stop ${container_name}
|
|
|
docker rm ${container_name}
|
|
|
docker rmi ${image_name}
|