hts/build.sh

12 lines
401 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 1. 构建镜像(名字直接叫 cradle
docker build \
--build-arg http_proxy=http://127.0.0.1:7890 \
--build-arg https_proxy=http://127.0.0.1:7890 \
--build-arg BLOGAI_HOST=192.168.10.104 \
--no-cache
--network=host \
-t cradle:latest \
-f apps/blogai/Dockerfile .
# 2. 运行容器(容器名叫 Cradle
docker run -d --name Cradle -p 3008:3008 --restart always cradle:latest