定时任务服务不做容器内存限制
This commit is contained in:
parent
e2ccdbd4c4
commit
40ba1cb503
@ -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 48082:48082 --name ${app_name} --memory 700m ${app_name}:${app_version}
|
docker run -d -p 48082:48082 --name ${app_name} ${app_name}:${app_version}
|
Loading…
Reference in New Issue
Block a user