Skip to content

Commit ad60529

Browse files
committed
Revert "Test change path comps/dataprep/redis/langchain/docker/Dockerfile -> test/docker/Dockerfile."
This reverts commit c2622b8. Signed-off-by: zepan <[email protected]>
1 parent c2622b8 commit ad60529

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
# Copyright (C) 2024 Intel Corporation
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
FROM langchain/langchain:latest
6+
7+
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
8+
libgl1-mesa-glx \
9+
libjemalloc-dev \
10+
vim
11+
12+
RUN useradd -m -s /bin/bash user && \
13+
mkdir -p /home/user && \
14+
chown -R user /home/user/
15+
16+
USER user
17+
18+
COPY comps /home/user/comps
19+
20+
RUN pip install --no-cache-dir --upgrade pip && \
21+
pip install --no-cache-dir -r /home/user/comps/llms/text-generation/tgi/requirements.txt
22+
23+
ENV PYTHONPATH=$PYTHONPATH:/home/user
24+
25+
WORKDIR /home/user/comps/llms/text-generation/tgi
26+
27+
ENTRYPOINT ["python", "llm.py"]

0 commit comments

Comments
 (0)