From 1b4a8fbac242e5619b9e6709bcc0662d6ef77b3f Mon Sep 17 00:00:00 2001 From: leo <260626284+cameledev@users.noreply.github.com> Date: Wed, 13 May 2026 18:20:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(agents)=20fix=20Docker=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix two issues. 1: Missmatch between commands in dev and production in Dockerfile, leading to unexpected behaviors. 2: Naming of multi-user-transcriber -> multi-user-transcriber-dev for coherence. --- CHANGELOG.md | 3 --- Makefile | 4 ++-- compose.yml | 20 ++++++++++---------- src/agents/Dockerfile | 2 +- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89b58ddc..790d6abc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,9 +19,6 @@ and this project adheres to - ♻️(summary) change tasks endpoint signature - ⬆️(dependencies) update urllib3 to v2.7.0 [SECURITY] - -### Changed - - 🧑‍💻(agents) use `uv` for package management - ✨(summary) improve speaker-to-participant assignment diff --git a/Makefile b/Makefile index d51c8741..3a4d8065 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ build-frontend: ## build the frontend container .PHONY: build-frontend build-agents: ## build the multi-user-transcriber agent container - @$(COMPOSE) build multi-user-transcriber + @$(COMPOSE) build multi-user-transcriber-dev .PHONY: build-agents down: ## stop and remove containers, networks, images, and volumes @@ -138,7 +138,7 @@ run-agents: ## start the multi-user-transcriber agent .PHONY: run-agents run-agent-multi-user-transcriber: ## start the LiveKit agents (multi users transcriber) - @$(COMPOSE) up --force-recreate -d multi-user-transcriber + @$(COMPOSE) up --force-recreate -d multi-user-transcriber-dev .PHONY: run-agent-multi-user-transcriber run-agent-metadata-collector: ## start the LiveKit agents (metadata collector) diff --git a/compose.yml b/compose.yml index 247ebebd..750b8d40 100644 --- a/compose.yml +++ b/compose.yml @@ -271,6 +271,16 @@ services: - action: rebuild path: ./src/agents + multi-user-transcriber-dev: + build: + context: ./src/agents + target: development + env_file: + - env.d/development/multi_user_transcriber + volumes: + - ./src/agents:/app + - /app/.venv + redis-summary: image: redis ports: @@ -332,16 +342,6 @@ services: - action: rebuild path: ./src/summary - multi-user-transcriber: - build: - context: ./src/agents - target: development - env_file: - - env.d/development/multi_user_transcriber - volumes: - - ./src/agents:/app - - /app/.venv - networks: default: resource-server: diff --git a/src/agents/Dockerfile b/src/agents/Dockerfile index f6f7d8a0..ca70da2a 100644 --- a/src/agents/Dockerfile +++ b/src/agents/Dockerfile @@ -49,7 +49,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ ENV PATH="/app/.venv/bin:$PATH" -CMD ["python", "metadata_collector.py", "dev"] +CMD ["python", "multi_user_transcriber.py", "dev"] # ---- Production image ----