feat: add custom Dockerfile with Hermes adapter baked in
Some checks failed
Build Hermes agent / build (pull_request) Has been cancelled
Build ollama (gfx906) / build (pull_request) Has been cancelled

Creates ai/paperclip/ with:
- Dockerfile: extends upstream paperclip image, pre-installs
  hermes-paperclip-adapter@0.3.0 npm package as seed data
- docker-entrypoint.sh: seeds the adapter plugin on first boot
  if the persistent volume is empty, then runs original startup

This ensures the Hermes adapter is available on first boot without
requiring network access — no npm install needed at runtime. The
adapter persists on the Docker volume across restarts.
This commit is contained in:
2026-05-18 18:37:31 -04:00
parent 563ccc5632
commit 37bf43c3ea
3 changed files with 84 additions and 1 deletions

View File

@@ -115,7 +115,8 @@ services:
- ai_backend
paperclip:
image: ghcr.io/paperclipai/paperclip:v2026.517.0
build:
context: ./paperclip
container_name: paperclip
restart: always
ports: