From 8db5517b4cc7947f8c4b5f103aa646e05f0ef2be Mon Sep 17 00:00:00 2001 From: ms-alan Date: Wed, 22 Apr 2026 10:33:44 +0800 Subject: [PATCH] fix: add /opt/data/.local/bin to PATH in Docker image (Closes #13739) Running 'hermes profile create' inside the container creates wrappers at /opt/data/.local/bin but that directory isn't on PATH by default. Add ENV PATH so wrappers are discoverable without touching shell configs. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index c8321b75..8904c4c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,5 +50,6 @@ RUN uv venv && \ # ---------- Runtime ---------- ENV HERMES_WEB_DIST=/opt/hermes/hermes_cli/web_dist ENV HERMES_HOME=/opt/data +ENV PATH="/opt/data/.local/bin:${PATH}" VOLUME [ "/opt/data" ] ENTRYPOINT [ "/opt/hermes/docker/entrypoint.sh" ]