Skip to content

Commit

Permalink
clear some unnecessary scripts and Dockerfile commands. (#635)
Browse files Browse the repository at this point in the history
Signed-off-by: zhlsunshine <[email protected]>
  • Loading branch information
zhlsunshine authored Sep 6, 2024
1 parent 5537b7f commit 824a7e2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
4 changes: 1 addition & 3 deletions comps/retrievers/langchain/pgvector/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ RUN useradd -m -s /bin/bash user && \

COPY comps /home/user/comps

RUN chmod +x /home/user/comps/retrievers/langchain/pgvector/run.sh

USER user

RUN pip install --no-cache-dir --upgrade pip && \
Expand All @@ -24,4 +22,4 @@ ENV PYTHONPATH=$PYTHONPATH:/home/user

WORKDIR /home/user/comps/retrievers/langchain/pgvector

ENTRYPOINT ["/home/user/comps/retrievers/langchain/pgvector/run.sh"]
ENTRYPOINT ["python", "retriever_pgvector.py"]
9 changes: 0 additions & 9 deletions comps/retrievers/langchain/pgvector/run.sh

This file was deleted.

5 changes: 0 additions & 5 deletions comps/retrievers/langchain/vdms/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ RUN useradd -m -s /bin/bash user && \

COPY comps /home/user/comps

# RUN chmod +x /home/user/comps/retrievers/langchain/vdms/run.sh

USER user
RUN pip install --no-cache-dir --upgrade pip && \
if [ ${ARCH} = "cpu" ]; then pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \
Expand All @@ -43,7 +41,4 @@ ENV https_proxy=""

WORKDIR /home/user/comps/retrievers/langchain/vdms

#ENTRYPOINT ["/home/user/comps/retrievers/langchain/vdms/run.sh"]
#ENTRYPOINT ["/bin/bash"]

ENTRYPOINT ["python", "retriever_vdms.py"]
9 changes: 0 additions & 9 deletions comps/retrievers/langchain/vdms/run.sh

This file was deleted.

0 comments on commit 824a7e2

Please sign in to comment.