diff --git a/comps/dataprep/redis/langchain/docker/Dockerfile b/comps/dataprep/redis/langchain/docker/Dockerfile index 71efcdd06..215386750 100644 --- a/comps/dataprep/redis/langchain/docker/Dockerfile +++ b/comps/dataprep/redis/langchain/docker/Dockerfile @@ -21,17 +21,17 @@ USER user COPY comps /home/user/comps RUN pip install --no-cache-dir --upgrade pip setuptools && \ - pip install --no-cache-dir -r /home/user/comps/dataprep/redis/requirements.txt + pip install --no-cache-dir -r /home/user/comps/dataprep/redis/langchain/requirements.txt ENV PYTHONPATH=$PYTHONPATH:/home/user USER root -RUN mkdir -p /home/user/comps/dataprep/redis/uploaded_files && chown -R user /home/user/comps/dataprep/redis/uploaded_files +RUN mkdir -p /home/user/comps/dataprep/redis/langchain/uploaded_files && chown -R user /home/user/comps/dataprep/redis/langchain/uploaded_files USER user -WORKDIR /home/user/comps/dataprep/redis +WORKDIR /home/user/comps/dataprep/redis/langchain ENTRYPOINT ["python", "prepare_doc_redis.py"]