mirror of
https://github.com/TencentCloud/TencentDB-Agent-Memory
synced 2026-07-10 12:34:27 +00:00
fix(docs): add cd docker/opensource before docker build command
This commit is contained in:
@@ -217,6 +217,9 @@ MODEL_PROVIDER="custom"
|
|||||||
# -e MODEL_* Inject the config parameters above as env vars
|
# -e MODEL_* Inject the config parameters above as env vars
|
||||||
# -v hermes_data:/opt/data Persist memory data to a named volume (survives restart)
|
# -v hermes_data:/opt/data Persist memory data to a named volume (survives restart)
|
||||||
|
|
||||||
|
# Enter the Docker build directory (already cloned the repo and at the repo root)
|
||||||
|
cd docker/opensource
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
docker build -f Dockerfile.hermes -t hermes-memory .
|
docker build -f Dockerfile.hermes -t hermes-memory .
|
||||||
|
|
||||||
|
|||||||
@@ -220,6 +220,9 @@ MODEL_PROVIDER="custom"
|
|||||||
# -e MODEL_* 将上方配置参数注入容器环境变量
|
# -e MODEL_* 将上方配置参数注入容器环境变量
|
||||||
# -v hermes_data:/opt/data 记忆数据持久化到命名卷(容器重启后数据不丢)
|
# -v hermes_data:/opt/data 记忆数据持久化到命名卷(容器重启后数据不丢)
|
||||||
|
|
||||||
|
# 进入 Docker 构建目录(已 clone 仓库并位于仓库根目录)
|
||||||
|
cd docker/opensource
|
||||||
|
|
||||||
# 构建
|
# 构建
|
||||||
docker build -f Dockerfile.hermes -t hermes-memory .
|
docker build -f Dockerfile.hermes -t hermes-memory .
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user