构建限制内存修改
This commit is contained in:
parent
3eca0681d9
commit
1e26d750ff
@ -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 48090:48090 --name ${app_name} --memory 600m ${app_name}:${app_version}
|
docker run -d -p 48090:48090 --name ${app_name} --memory 800m ${app_name}:${app_version}
|
@ -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 48088:48088 --name ${app_name} --memory 600m ${app_name}:${app_version}
|
docker run -d -p 48088:48088 --name ${app_name} --memory 800m ${app_name}:${app_version}
|
Loading…
Reference in New Issue
Block a user