# Compose override for the "deploy fast" path. Layer on top of the # base compose to swap chat-server from a-full-Rust-build-on-remote to # a-tiny-runtime-image-using-the-prebuilt-binary. # # Usage on the remote (handled by deploy-fast.local.sh): # # docker compose \ # -f docker-compose.yml \ # -f docker-compose.fast.yml \ # up -d --build chat-server # # The build context shrinks from the entire repo root to just this # deploy/ directory — meaning rsync only has to ship the prebuilt # binary + SPA, not the rust/, kez-chat/, and rust-sig-server/ trees. # # sig-server is left alone (it still does its own build); only # chat-server needs the fast path right now. services: chat-server: build: context: . dockerfile: Dockerfile.runtime