From 732c4fb7f7a995bfaca8c71f71b415a7f4947a99 Mon Sep 17 00:00:00 2001 From: Artem Darius Weber Date: Sat, 9 Nov 2024 16:08:54 +0300 Subject: [PATCH] fix: added copy kafka lib in docker --- agentic/llm/consumer.Dockerfile | 3 ++- agentic/llm/processor.Dockerfile | 4 ++-- agentic/llm/producer.Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/agentic/llm/consumer.Dockerfile b/agentic/llm/consumer.Dockerfile index c0e333c..7415b16 100644 --- a/agentic/llm/consumer.Dockerfile +++ b/agentic/llm/consumer.Dockerfile @@ -3,6 +3,7 @@ FROM python:3.9 WORKDIR /app COPY test_show_responses_from_llm.py . COPY requirements.txt . -COPY AgenticInterfaces . +COPY AgenticInterfaces ./AgenticInterfaces RUN pip install -r requirements.txt +ENV PYTHONPATH=/app CMD ["python", "test_show_responses_from_llm.py"] diff --git a/agentic/llm/processor.Dockerfile b/agentic/llm/processor.Dockerfile index 1030120..f359a5b 100644 --- a/agentic/llm/processor.Dockerfile +++ b/agentic/llm/processor.Dockerfile @@ -1,8 +1,8 @@ -# processor.Dockerfile FROM python:3.9 WORKDIR /app COPY llm_worker.py . COPY requirements.txt . -COPY AgenticInterfaces . +COPY AgenticInterfaces ./AgenticInterfaces RUN pip install -r requirements.txt +ENV PYTHONPATH=/app CMD ["python", "llm_worker.py"] \ No newline at end of file diff --git a/agentic/llm/producer.Dockerfile b/agentic/llm/producer.Dockerfile index 15b4953..dc1193f 100644 --- a/agentic/llm/producer.Dockerfile +++ b/agentic/llm/producer.Dockerfile @@ -3,6 +3,7 @@ FROM python:3.9 WORKDIR /app COPY test_send_llm_requests.py . COPY requirements.txt . -COPY AgenticInterfaces . +COPY AgenticInterfaces ./AgenticInterfaces RUN pip install -r requirements.txt +ENV PYTHONPATH=/app CMD ["python", "test_send_llm_requests.py"]