Basecamp Sherpa
AppsWorker

Deploy

Build and push the Worker Docker image to ghcr.io.

Quick deploy

pnpm worker:deploy

Builds the Worker Docker image and pushes it to ghcr.io/yannickarmspach/sherpa-worker:latest. Railway automatically pulls the updated image.

How it works

Build

The Dockerfile at apps/worker/Dockerfile is lightweight (no build step):

  1. deps — installs pnpm dependencies
  2. runtime — copies source and runs pnpm --dir apps/worker start (tsx runtime)

Push

The image is pushed to GitHub Container Registry (private):

ghcr.io/yannickarmspach/sherpa-worker:latest

Pull

Railway is configured to pull from ghcr.io with registry credentials. After pushing, Railway detects the new image and redeploys automatically.

Prerequisites

  • Docker with buildx enabled
  • Authenticated with ghcr.io: docker login ghcr.io
  • Railway service configured to pull from ghcr.io/yannickarmspach/sherpa-worker:latest

For Railway setup (env vars, monitoring), see Production.