mirror of
https://github.com/zhinianboke/xianyu-auto-reply.git
synced 2025-08-30 01:27:35 +08:00
Update docker-deploy.sh
This commit is contained in:
parent
9105bd03a7
commit
9412b392a5
@ -70,7 +70,12 @@ init_config() {
|
||||
# 构建镜像
|
||||
build_image() {
|
||||
print_info "构建 Docker 镜像..."
|
||||
docker-compose build --no-cache
|
||||
echo "是否需要使用国内镜像(y/n): " && read iscn
|
||||
if [[ $iscn == "y" ]]; then
|
||||
docker-compose -f docker-compose-cn.yml build --no-cache
|
||||
else
|
||||
docker-compose build --no-cache
|
||||
fi
|
||||
print_success "镜像构建完成"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user