This commit is contained in:
parent
072e0f8fd3
commit
941a4f8787
@ -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}
|
Loading…
Reference in New Issue
Block a user