Compare commits

..

2 Commits

Author SHA1 Message Date
605d2787a8 Merge pull request '构建限制内存修改' (#71) from xinwei into master
All checks were successful
continuous-integration/drone Build is passing
Reviewed-on: #71
2024-09-05 09:47:52 +08:00
1e26d750ff 构建限制内存修改 2024-09-05 09:41:10 +08:00
2 changed files with 2 additions and 2 deletions

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 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}

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 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}