anhkhoiphan commited on
Commit
71f6ce8
·
1 Parent(s): 16cda8e

Sửa api_requirements

Browse files
Dockerfile CHANGED
@@ -3,8 +3,8 @@ FROM python:3.11-slim
3
  WORKDIR /app
4
 
5
  # Cache dependency layer riêng
6
- COPY requirements.txt .
7
- RUN pip install --no-cache-dir -r requirements.txt
8
 
9
  # Copy toàn bộ src/ vào /app/src/ để giữ nguyên "from src.xxx" import paths
10
  COPY . ./src/
 
3
  WORKDIR /app
4
 
5
  # Cache dependency layer riêng
6
+ COPY api_requirements.txt .
7
+ RUN pip install --no-cache-dir -r api_requirements.txt
8
 
9
  # Copy toàn bộ src/ vào /app/src/ để giữ nguyên "from src.xxx" import paths
10
  COPY . ./src/
requirements.txt → api_requirements.txt RENAMED
@@ -1,6 +1,4 @@
1
- openai>=1.50.0
2
  python-dotenv>=1.0.0
3
- httpx>=0.27.0
4
  pydantic>=2.0.0
5
  langchain-google-genai
6
  langchain-core>=0.3.0
@@ -12,4 +10,5 @@ requests>=2.31.0
12
  beautifulsoup4>=4.12.0
13
  fastapi>=0.115.0
14
  uvicorn[standard]>=0.30.0
 
15
  pdfplumber>=0.11.0
 
 
1
  python-dotenv>=1.0.0
 
2
  pydantic>=2.0.0
3
  langchain-google-genai
4
  langchain-core>=0.3.0
 
10
  beautifulsoup4>=4.12.0
11
  fastapi>=0.115.0
12
  uvicorn[standard]>=0.30.0
13
+ python-multipart>=0.0.9
14
  pdfplumber>=0.11.0