更新 yudao-server/run.sh
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
root 2024-09-13 17:23:57 +08:00
parent 072e0f8fd3
commit 941a4f8787

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 6127:6127 --name ${app_name} ${app_name}:${app_version} docker run -d -p 6127:6127 --name ${app_name} --restart always ${app_name}:${app_version}