1 Star 0 Fork 468

Chris3Paul3/Blog.Core

forked from 老张的哲学/Blog.Core 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Blog.Core.Publish.Docker.Jenkins.sh 668 Bytes
一键复制 编辑 原始数据 按行查看 历史
MandIand 提交于 2023-01-17 17:00 . feat:update to net 7.0
dotnet restore
dotnet build
cd Blog.Core.Api
dotnet publish
echo "Successfully!!!! ^ please see the file ."
cd bin/Debug/net7.0/publish/
#rm -f appsettings.json
#\cp -rf /var/jenkins_home/workspace/SecurityConfig/Blog.Core/appsettings.json appsettings.json
#docker stop apkcontainer
#docker rm apkcontainer
#docker rmi laozhangisphi/apkimg
chmod 777 StopContainerImg.sh
./StopContainerImg.sh apkcontainer laozhangisphi/apkimg
docker build -t laozhangisphi/apkimg .
docker run --name=apkcontainer -d -v /data/blogcore/appsettings.json:/app/appsettings.json -v /data/blogcore/Log/:/app/Log -v /etc/localtime:/etc/localtime -it -p 9291:9291 laozhangisphi/apkimg
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/chris3paul3/Blog.Core.git
[email protected]:chris3paul3/Blog.Core.git
chris3paul3
Blog.Core
Blog.Core
master

搜索帮助