1 Star 0 Fork 329

Anh Nguyen / 考试君 - Backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.sh 417 Bytes
一键复制 编辑 原始数据 按行查看 历史
辣条老板 提交于 2020-11-22 18:07 . [更新] 更新远程镜像仓库
#!/bin/bash
# 项目名称
export COMPOSE_PROJECT_NAME="ek_server"
export COMPOSE_FILE="./docker/docker-compose.yml"
version=`cat VERSION`
# 部署版本号
if [ "$version" = "" ]; then
export VERSIONTAG="latest"
else
export VERSIONTAG=$version
fi
echo "=======项目名称:${COMPOSE_PROJECT_NAME} 版本号:${VERSIONTAG}========"
# 构建镜像
docker-compose build
# 垃圾回收
docker image prune -f
C#
1
https://gitee.com/meoneko/ExamKing.git
git@gitee.com:meoneko/ExamKing.git
meoneko
ExamKing
考试君 - Backend
master

搜索帮助