AppsAgent
Deploy
Build and push the Agent Docker image to ghcr.io.
Quick deploy
pnpm agent:deployBuilds the Agent Docker image and pushes it to ghcr.io/yannickarmspach/sherpa-agent:latest. Railway automatically pulls the updated image.
How it works
Build
The Dockerfile at apps/agent/Dockerfile runs a multi-stage build:
- deps — installs pnpm dependencies
- build — runs
pnpm --filter agent build(Vite SSR bundle) - runtime — slim Node 22 image with Claude Code CLI and Basecamp CLI pre-installed
Push
The image is pushed to GitHub Container Registry (private):
ghcr.io/yannickarmspach/sherpa-agent:latestPull
Railway is configured to pull from ghcr.io with registry credentials. After pushing, Railway detects the new image and redeploys automatically.
Prerequisites
- Docker with
buildxenabled - Authenticated with ghcr.io:
docker login ghcr.io - Railway service configured to pull from
ghcr.io/yannickarmspach/sherpa-agent:latest
For Railway setup (env vars, volumes, domain, webhooks), see Production.