From 261536d74d83588ade8eb27667e6c448c175c4cc Mon Sep 17 00:00:00 2001 From: Hermes Date: Fri, 22 May 2026 13:05:15 -0400 Subject: [PATCH] feat: bake Matrix bridge deps into Docker image instead of volume mount --- ai/hermes/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ai/hermes/Dockerfile b/ai/hermes/Dockerfile index 0265ab2..368efca 100644 --- a/ai/hermes/Dockerfile +++ b/ai/hermes/Dockerfile @@ -51,6 +51,12 @@ RUN . /opt/hermes/.venv/bin/activate && \ WORKDIR /opt/hermes +# ---------- Matrix bridge + extra pip deps ---------- +# Previously installed inline at container startup and persisted via volume mount. +# Now baked into the image so the fragile venv volume mount can be removed. +RUN . /opt/hermes/.venv/bin/activate && \ + uv pip install --no-cache-dir 'mautrix[encryption]' openai + # ---------- Piper TTS ---------- RUN . /opt/hermes/.venv/bin/activate && \ uv pip install --no-cache-dir piper-tts sounddevice numpy && \