fix(docs): add cd docker/opensource before docker build command

This commit is contained in:
chrishuan
2026-05-20 18:21:34 +08:00
parent c13d020047
commit 3d965dfbb6
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -217,6 +217,9 @@ MODEL_PROVIDER="custom"
# -e MODEL_* Inject the config parameters above as env vars
# -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
docker build -f Dockerfile.hermes -t hermes-memory .
+3
View File
@@ -220,6 +220,9 @@ MODEL_PROVIDER="custom"
# -e MODEL_* 将上方配置参数注入容器环境变量
# -v hermes_data:/opt/data 记忆数据持久化到命名卷(容器重启后数据不丢)
# 进入 Docker 构建目录(已 clone 仓库并位于仓库根目录)
cd docker/opensource
# 构建
docker build -f Dockerfile.hermes -t hermes-memory .