diff --git a/AudioQnA/Dockerfile b/AudioQnA/Dockerfile index e2273d381b..265c9c9b5d 100644 --- a/AudioQnA/Dockerfile +++ b/AudioQnA/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./audioqna.py /home/user/audioqna.py diff --git a/AudioQnA/Dockerfile.multilang b/AudioQnA/Dockerfile.multilang index c62cb04048..ef7c926975 100644 --- a/AudioQnA/Dockerfile.multilang +++ b/AudioQnA/Dockerfile.multilang @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./audioqna_multilang.py /home/user/audioqna_multilang.py diff --git a/ChatQnA/Dockerfile b/ChatQnA/Dockerfile index ee84069a25..4e431ac773 100644 --- a/ChatQnA/Dockerfile +++ b/ChatQnA/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir langchain_core diff --git a/ChatQnA/Dockerfile.guardrails b/ChatQnA/Dockerfile.guardrails index 168dfb138a..ed811148c0 100644 --- a/ChatQnA/Dockerfile.guardrails +++ b/ChatQnA/Dockerfile.guardrails @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir langchain_core diff --git a/ChatQnA/Dockerfile.without_rerank b/ChatQnA/Dockerfile.without_rerank index 030aef1594..7d3a94c5de 100644 --- a/ChatQnA/Dockerfile.without_rerank +++ b/ChatQnA/Dockerfile.without_rerank @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir langchain_core diff --git a/CodeGen/Dockerfile b/CodeGen/Dockerfile index aee27a8989..e0aa7d13f0 100644 --- a/CodeGen/Dockerfile +++ b/CodeGen/Dockerfile @@ -20,7 +20,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./codegen.py /home/user/codegen.py diff --git a/CodeTrans/Dockerfile b/CodeTrans/Dockerfile index 89bb0b238d..918d936c96 100644 --- a/CodeTrans/Dockerfile +++ b/CodeTrans/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./code_translation.py /home/user/code_translation.py diff --git a/DocIndexRetriever/Dockerfile b/DocIndexRetriever/Dockerfile index 4e738a22a9..c8794f3efc 100644 --- a/DocIndexRetriever/Dockerfile +++ b/DocIndexRetriever/Dockerfile @@ -16,7 +16,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./retrieval_tool.py /home/user/retrieval_tool.py diff --git a/DocSum/Dockerfile b/DocSum/Dockerfile index 5ffd463217..d0dac691c8 100644 --- a/DocSum/Dockerfile +++ b/DocSum/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./docsum.py /home/user/docsum.py diff --git a/FaqGen/Dockerfile b/FaqGen/Dockerfile index 08307f0046..4018b44d1f 100644 --- a/FaqGen/Dockerfile +++ b/FaqGen/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./faqgen.py /home/user/faqgen.py diff --git a/MultimodalQnA/Dockerfile b/MultimodalQnA/Dockerfile index ec221c03ea..534203c96e 100644 --- a/MultimodalQnA/Dockerfile +++ b/MultimodalQnA/Dockerfile @@ -16,7 +16,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./multimodalqna.py /home/user/multimodalqna.py diff --git a/SearchQnA/Dockerfile b/SearchQnA/Dockerfile index 3b76d046b6..2d8e59f6b5 100644 --- a/SearchQnA/Dockerfile +++ b/SearchQnA/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./searchqna.py /home/user/searchqna.py diff --git a/Translation/Dockerfile b/Translation/Dockerfile index d0eef525da..33931689c1 100644 --- a/Translation/Dockerfile +++ b/Translation/Dockerfile @@ -28,7 +28,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./translation.py /home/user/translation.py diff --git a/VideoQnA/Dockerfile b/VideoQnA/Dockerfile index 9712d33981..bd1ff121f5 100644 --- a/VideoQnA/Dockerfile +++ b/VideoQnA/Dockerfile @@ -19,7 +19,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./videoqna.py /home/user/videoqna.py diff --git a/VisualQnA/Dockerfile b/VisualQnA/Dockerfile index 588cd379dc..ef6a2e2536 100644 --- a/VisualQnA/Dockerfile +++ b/VisualQnA/Dockerfile @@ -18,7 +18,7 @@ WORKDIR /home/user/ RUN git clone https://github.com/opea-project/GenAIComps.git WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ +RUN pip install --no-cache-dir --upgrade pip setuptools && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt COPY ./visualqna.py /home/user/visualqna.py