Deploying
Deploying
Deploying
The default build is cgo-free, so a bot ships as a single static binary. What it still needs at run time is the ONNX Runtime, for VAD and end-of-turn detection, and optionally RNNoise.
- Deploy with Docker
: the
gojargo/jargo-buildbuild base and the distrolessgojargo/jargoruntime base (which bundles the native libraries), plus a copyable two-stage Dockerfile.
One task per session, and a task dies with its connection: build the pipeline
inside your /offer handler and cancel on close. Scaling is therefore a matter of
how many concurrent sessions one process holds. See the
benchmarks
for measured numbers.