构建:改用预构建的 Agent Runtime 镜像
This commit is contained in:
@@ -21,13 +21,12 @@ services:
|
||||
retries: 20
|
||||
start_period: 10s
|
||||
|
||||
# 此服务负责构建并登记 AgentScope 使用的 Runtime 镜像。
|
||||
# 此服务负责校验并登记 AgentScope 使用的 Runtime 镜像。
|
||||
# Runtime 镜像在开发机预先构建并导入服务器;此服务只校验镜像存在,不在服务器构建或拉取。
|
||||
# 它成功退出后,后端会通过 Docker Socket 按 Session 动态创建真正执行任务的 Runtime 容器。
|
||||
agent-runtime:
|
||||
image: ${AGENT_RUNTIME_IMAGE:-smart-factory-agent-runtime:0.1.0}
|
||||
build:
|
||||
context: ./sandbox
|
||||
dockerfile: Dockerfile
|
||||
pull_policy: never
|
||||
command: ["/bin/true"]
|
||||
restart: "no"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user