Bug Description
Running hermes dashboard from the Docker image starts FastAPI on port 9119 but serves a broken SPA. hermes_cli/web_dist/ is empty in the image and the HTML loads references to /assets/index-<hash>.js that return 404.
Root cause: the upstream Dockerfile installs root-level npm dependencies (for Playwright) and the whatsapp-bridge bundle, but never runs npm install && npm run build inside web/, so the Vite output is never baked into the image.
Steps to Reproduce
docker build -t hermes-repro -f Dockerfile .
docker run --rm -p 9119:9119 hermes-repro hermes dashboard
curl -sI http://localhost:9119/assets/ | head -1 # -> 404
Expected Behavior
/assets/index-<hash>.js (and the rest of the Vite-built SPA) should be served by FastAPI — the dashboard should load cleanly.
Actual Behavior
HTTP 404 for /assets/* because hermes_cli/web_dist/ is empty inside the image.
Affected Component
Other (Docker image build)
Environment
NousResearch/hermes-agent at tag v2026.4.16 (release v0.10.0)
docker build -f Dockerfile . followed by docker run ... hermes dashboard
- Platform-independent (reproduced from any Docker host)
Fix
Add a RUN cd /opt/hermes/web && npm install --prefer-offline --no-audit && npm run build && npm cache clean --force step between the existing npm install block and the chown line. PR to follow.
Bug Description
Running
hermes dashboardfrom the Docker image starts FastAPI on port 9119 but serves a broken SPA.hermes_cli/web_dist/is empty in the image and the HTML loads references to/assets/index-<hash>.jsthat return 404.Root cause: the upstream
Dockerfileinstalls root-level npm dependencies (for Playwright) and thewhatsapp-bridgebundle, but never runsnpm install && npm run buildinsideweb/, so the Vite output is never baked into the image.Steps to Reproduce
Expected Behavior
/assets/index-<hash>.js(and the rest of the Vite-built SPA) should be served by FastAPI — the dashboard should load cleanly.Actual Behavior
HTTP 404 for
/assets/*becausehermes_cli/web_dist/is empty inside the image.Affected Component
Other (Docker image build)
Environment
NousResearch/hermes-agentat tagv2026.4.16(release v0.10.0)docker build -f Dockerfile .followed bydocker run ... hermes dashboardFix
Add a
RUN cd /opt/hermes/web && npm install --prefer-offline --no-audit && npm run build && npm cache clean --forcestep between the existing npm install block and thechownline. PR to follow.