File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
dataprep/redis/langchain/docker Expand file tree Collapse file tree 2 files changed +27
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
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" ]
You can’t perform that action at this time.
0 commit comments