Compare commits
1 Commits
fix/combin
...
feat/herme
| Author | SHA1 | Date | |
|---|---|---|---|
| b8dc4783b6 |
@@ -9,6 +9,8 @@
|
|||||||
# ---------- Base: official Hermes image (system deps, npm, uv, Playwright) ----------
|
# ---------- Base: official Hermes image (system deps, npm, uv, Playwright) ----------
|
||||||
FROM nousresearch/hermes-agent:latest
|
FROM nousresearch/hermes-agent:latest
|
||||||
|
|
||||||
|
WORKDIR /opt/hermes
|
||||||
|
|
||||||
# ---------- Overlay our forked source ----------
|
# ---------- Overlay our forked source ----------
|
||||||
# Uses SSH agent forwarding from the build host (no key baked into image).
|
# Uses SSH agent forwarding from the build host (no key baked into image).
|
||||||
# --exclude node_modules/.venv keeps the base image's pre-built layers intact.
|
# --exclude node_modules/.venv keeps the base image's pre-built layers intact.
|
||||||
@@ -50,7 +52,7 @@ COPY --chmod=0755 --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/
|
|||||||
|
|
||||||
# ---------- Piper TTS ----------
|
# ---------- Piper TTS ----------
|
||||||
RUN . /opt/hermes/.venv/bin/activate && \
|
RUN . /opt/hermes/.venv/bin/activate && \
|
||||||
uv pip install --no-cache-dir piper-tts sounddevice numpy && \
|
uv pip install --no-cache-dir piper-tts sounddevice numpy httpx && \
|
||||||
mkdir -p /opt/hermes/.venv/share/piper/voices
|
mkdir -p /opt/hermes/.venv/share/piper/voices
|
||||||
|
|
||||||
RUN /opt/hermes/.venv/bin/python3 /dev/stdin << 'PYEOF'
|
RUN /opt/hermes/.venv/bin/python3 /dev/stdin << 'PYEOF'
|
||||||
|
|||||||
Reference in New Issue
Block a user