Skip to content

Commit 0f902cf

Browse files
committed
Try installing with -r
1 parent 56bde86 commit 0f902cf

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

py/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM python:3.13.0a6
33
RUN apt-get update && \
44
apt-get install -yqq --no-install-recommends \
55
cargo && \
6-
pip install -U sentence-transformers \
76
rm -rf \
87
/var/lib/apt/lists/* \
98
/usr/share/doc \
@@ -14,4 +13,8 @@ RUN mkdir -p /app
1413

1514
WORKDIR /app
1615

16+
COPY requirements.txt .
17+
18+
RUN pip3 install -r requirements.txt
19+
1720
CMD tail -f /dev/null

py/requirements.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
openai
2+
python-dotenv
3+
wikipedia
4+
tiktoken
5+
neo4j
6+
streamlit
7+
sentence_transformers==2.2.2
8+
Pillow
9+
fastapi
10+
PyPDF2
11+
torch==2.0.1
12+
pydantic
13+
uvicorn
14+
sse-starlette
15+
boto3
16+
# missing from the langchain base image?
17+
langchain-openai
18+
langchain-community

0 commit comments

Comments
 (0)