# Overlay on the friday-voice app image that adds the docker CLI + a wrapper so # the container can reach the hermes agent via `docker exec hermes hermes ...`. # Runs as root to access the mounted /var/run/docker.sock. FROM friday-voice:latest USER root # Static docker *client* only (~small), for `docker exec` into the hermes container. RUN curl -fsSL https://download.docker.com/linux/static/stable/x86_64/docker-27.5.1.tgz \ | tar -xz --strip-components=1 -C /usr/local/bin docker/docker \ && chmod +x /usr/local/bin/docker \ && docker --version COPY hermes-wrap /usr/local/bin/hermes-wrap RUN chmod +x /usr/local/bin/hermes-wrap # Keep the base image's CMD (uvicorn friday_voice.app:app :8320).