From 3d965dfbb6b8da9e0d491e619281f38cd76c091a Mon Sep 17 00:00:00 2001 From: chrishuan Date: Wed, 20 May 2026 18:21:34 +0800 Subject: [PATCH] fix(docs): add cd docker/opensource before docker build command --- README.md | 3 +++ README_CN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index d8a1ec9..58aa74f 100644 --- a/README.md +++ b/README.md @@ -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 . diff --git a/README_CN.md b/README_CN.md index e443776..c1180c5 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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 .