Basecamp Sherpa
ServicesDocker

Docker

Docker Compose for development and multi-stage Dockerfile for production.

The Docker service provides both the local development environment and the production container image for the Agent.

Docker Compose (services/docker/docker-compose.yml)

Two services run in development:

ServiceDescription
sherpaAgent app with hot reload, source code mounted, persistent volume at .volumes/root-dev
hookdeckHookdeck CLI sidecar that tunnels Basecamp webhooks to http://sherpa:3000/webhooks

Dockerfile (services/docker/Dockerfile)

Multi-stage build producing a minimal production image:

StageWhat it does
depsBase Node.js 22 + pnpm
devAdds Claude Code CLI, Basecamp CLI, git, curl
buildCompiles the Vite SSR bundle
runtimeProduction image with Node.js 22, CLIs, built bundle, health check at /health

Key paths

PathDescription
services/docker/docker-compose.ymlDevelopment compose file
services/docker/DockerfileMulti-stage production build
.volumes/root-dev/Persistent credentials volume (gitignored)