更新run.sh

This commit is contained in:
root 2024-08-22 13:51:37 +08:00
parent fa685ff8e0
commit cd09b23027

View File

@ -7,8 +7,8 @@ echo '----stop container----'
docker stop ${app_name} docker stop ${app_name}
echo '----rm container----' echo '----rm container----'
docker rm ${app_name} docker rm ${app_name}
#echo '----rm image----' echo '----rm image----'
#docker rmi ${group_name}/${app_name}:${app_version} docker rmi ${app_name}:${app_version}
# 打包编译docker镜像 # 打包编译docker镜像
echo '----build image----' echo '----build image----'
docker buildx build -f Dockerfile -t ${app_name}:${app_version} . docker buildx build -f Dockerfile -t ${app_name}:${app_version} .