增加清除缓存
This commit is contained in:
parent
957b38b863
commit
13f28576ae
|
|
@ -15,9 +15,9 @@ docker push 123.207.203.228:92/miaoyuapi:dev-1.2.7
|
|||
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.3 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.3 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
||||
docker tag hm-admin:dev-1.0.0
|
||||
docker build -t hm-admin:v1.0 -t hm-admin:latest .
|
||||
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.4 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.4 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
||||
docker build --no-cache --progress=plain -t hm-admin:dev-1.0.5 -t hm-admin:latest -t 123.207.203.228:92/hm-admin:dev-1.0.5 -t 123.207.203.228:92/hm-admin:latest -f MiaoYu.Api.Admin/Dockerfile .
|
||||
docker push 123.207.203.228:92/hm-admin:latest
|
||||
docker push 123.207.203.228:92/hm-admin:dev-1.0.4
|
||||
docker push 123.207.203.228:92/hm-admin:dev-1.0.5
|
||||
# 运行
|
||||
docker run -d -p 90:90 -v E://disk/output:/app/output --name webapi miaoyu:dev-0.0.3
|
||||
|
||||
|
|
@ -28,6 +28,11 @@ docker run -d -p 90:90 -v E://disk/output:/app/output --name webapi miaoyu:dev-0
|
|||
## 设置最大内存
|
||||
--memory=3g
|
||||
|
||||
|
||||
|
||||
docker build -t miaoyuapi:dev-1.2.9 -t miaoyuapi:latest -t 123.207.203.228:92/miaoyuapi:dev-1.2.9 -t 123.207.203.228:92/miaoyuapi:latest --build-arg VERSION=1.2.9 --build-arg TARGET=dev -f src/2-api/HuanMeng.MiaoYu.WebApi/Dockerfile .
|
||||
docker push 123.207.203.228:92/miaoyuapi:latest
|
||||
docker push 123.207.203.228:92/miaoyuapi:dev-1.2.9
|
||||
```
|
||||
|
||||
### 项目说明
|
||||
|
|
|
|||
|
|
@ -299,6 +299,8 @@ namespace HuanMeng.MiaoYu.Code.Cache
|
|||
{
|
||||
_dictionaryInfo.ClearData();
|
||||
}
|
||||
ProductEntityCache productEntityCache = new ProductEntityCache(miaoYuBase);
|
||||
productEntityCache.ClearData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -326,6 +328,8 @@ namespace HuanMeng.MiaoYu.Code.Cache
|
|||
{
|
||||
_dictionaryInfo.ReloadData();
|
||||
}
|
||||
ProductEntityCache productEntityCache = new ProductEntityCache(miaoYuBase);
|
||||
productEntityCache.ReloadData();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user