1 Star 1 Fork 2

Max-Qiu / blog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
depoly.sh 322 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
cd /work/project/blog/ || exit
git pull
mvn clean package
VERSION=$(date "+%Y%m%d")
docker build -t blog:"$VERSION" .
docker rm -f blog
docker run -d --restart always --name blog -v /work/log/blog:/log -v /work/blog-files/:/blog-files --network blog-bridge -p 30001:30001 blog:"$VERSION"
docker image prune -f
Java
1
https://gitee.com/Max-Qiu/blog.git
git@gitee.com:Max-Qiu/blog.git
Max-Qiu
blog
blog
main

搜索帮助