Skip to content

Commit

Permalink
Try installing with -r
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrama committed Apr 25, 2024
1 parent 56bde86 commit 0f902cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
5 changes: 4 additions & 1 deletion py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM python:3.13.0a6
RUN apt-get update && \
apt-get install -yqq --no-install-recommends \
cargo && \
pip install -U sentence-transformers \
rm -rf \
/var/lib/apt/lists/* \
/usr/share/doc \
Expand All @@ -14,4 +13,8 @@ RUN mkdir -p /app

WORKDIR /app

COPY requirements.txt .

RUN pip3 install -r requirements.txt

CMD tail -f /dev/null
18 changes: 18 additions & 0 deletions py/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
openai
python-dotenv
wikipedia
tiktoken
neo4j
streamlit
sentence_transformers==2.2.2
Pillow
fastapi
PyPDF2
torch==2.0.1
pydantic
uvicorn
sse-starlette
boto3
# missing from the langchain base image?
langchain-openai
langchain-community

0 comments on commit 0f902cf

Please sign in to comment.