35 Star 320 Fork 118

辣条老板 / 考试君 - Backend

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
build.sh 417 Bytes
Copy Edit Web IDE Raw Blame History
辣条老板 authored 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

Comment ( 0 )

Sign in for post a comment

C#
1
https://gitee.com/pig0224/ExamKing.git
git@gitee.com:pig0224/ExamKing.git
pig0224
ExamKing
考试君 - Backend
master

Search