Revert "fix(hermes-workspace): add HOST/ENV vars, drop redundant nodejs install"

This reverts commit 735ddcb555.
This commit is contained in:
2026-05-20 14:05:51 -04:00
parent 735ddcb555
commit cd9bda57c3
2 changed files with 28 additions and 153 deletions

View File

@@ -29,12 +29,10 @@ RUN pnpm install --frozen-lockfile && pnpm build
# ---------- Stage 2: Hermes Agent + Workspace runtime ----------
FROM nousresearch/hermes-agent:latest
# ---------- Install tmux for Swarm workers + curl for health checks ----------
# Note: Node.js is already shipped with the base hermets-agent image; apt's nodejs
# would be older. Only add what's missing.
# ---------- Install Node.js + tmux for Workspace + Swarm ----------
USER root
RUN apt-get update && apt-get install -y --no-install-recommends \
tmux curl \
nodejs tmux ca-certificates curl \
&& rm -rf /var/lib/apt/lists/*
# ---------- Overlay our forked Hermes source ----------
@@ -117,8 +115,6 @@ USER hermes
ENV HERMES_HOME=/opt/data
ENV PATH="/opt/data/.local/bin:${PATH}"
ENV CHROME_EXECUTABLE=/opt/hermes/.playwright/chromium/chrome-linux/chrome
ENV HOST=0.0.0.0
ENV NODE_ENV=production
RUN chown -R hermes:hermes /opt/hermes/tools /opt/hermes/toolsets.py