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