YousefMohtady1 commited on
Commit
34936ef
·
1 Parent(s): 28b9224

chore: upgrade pip in Dockerfile and update dependencies.

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. requirements.txt +7 -7
Dockerfile CHANGED
@@ -2,6 +2,7 @@ FROM python:3.10-slim
2
  WORKDIR /app
3
 
4
  COPY requirements.txt .
 
5
  RUN pip install --no-cache-dir -r requirements.txt
6
 
7
  COPY . .
 
2
  WORKDIR /app
3
 
4
  COPY requirements.txt .
5
+ RUN pip install --upgrade pip
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
  COPY . .
requirements.txt CHANGED
@@ -2,13 +2,13 @@ fastapi==0.124.4
2
  uvicorn==0.38.0
3
  python-multipart==0.0.20
4
  python-dotenv==1.2.1
5
- langchain==0.3.0
6
- langchain-groq==0.2.0
7
- langchain-huggingface==0.1.0
8
- langchain-chroma==0.1.4
9
- langchain-community==0.3.0
10
- langchain-experimental==0.4.1
11
- chromadb==0.5.23
12
  pypdf==6.4.1
13
  sentence-transformers==5.2.0
14
  aiofiles==24.1.0
 
2
  uvicorn==0.38.0
3
  python-multipart==0.0.20
4
  python-dotenv==1.2.1
5
+ langchain~=0.3.0
6
+ langchain-groq~=0.2.0
7
+ langchain-huggingface~=0.1.0
8
+ langchain-chroma~=0.1.4
9
+ langchain-community~=0.3.0
10
+ langchain-experimental~=0.4.1
11
+ chromadb>=0.5.23
12
  pypdf==6.4.1
13
  sentence-transformers==5.2.0
14
  aiofiles==24.1.0