AppsWorker
Deploy
Build and push the Worker Docker image to ghcr.io.
Quick deploy
pnpm worker:deployBuilds 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):
- deps — installs pnpm dependencies
- 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: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-worker:latest
For Railway setup (env vars, monitoring), see Production.