构建修改

This commit is contained in:
XinWei 2024-08-21 17:23:07 +08:00
parent 1279ff85d4
commit cdf2a116ee

View File

@ -13,4 +13,4 @@ docker rmi ${app_name}:${app_version}
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} .
echo '----start container----' echo '----start container----'
docker run -d -p 48080:48080 --name ${app_name} ${app_name}:${app_version} docker run -d -p 48083:48080 --name ${app_name} ${app_name}:${app_version}