FredyHoundayi commited on
Commit
6bb2abd
·
1 Parent(s): 1f501ca

Fix Docker build issues: add setuptools/wheel and use flexible version requirements

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +23 -23
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # Use Python 3.12 slim image
2
  FROM python:3.12-slim
3
 
4
- # Set working directory0.0.0", "--port", "8000"]
5
 
6
  WORKDIR /app
7
 
@@ -22,7 +22,7 @@ RUN apt-get update \
22
  COPY requirements.txt .
23
 
24
  # Install Python dependencies
25
- RUN pip install --no-cache-dir --upgrade pip \
26
  && pip install --no-cache-dir -r requirements.txt
27
 
28
  # Copy application code
 
1
  # Use Python 3.12 slim image
2
  FROM python:3.12-slim
3
 
4
+ # Set working directory
5
 
6
  WORKDIR /app
7
 
 
22
  COPY requirements.txt .
23
 
24
  # Install Python dependencies
25
+ RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
26
  && pip install --no-cache-dir -r requirements.txt
27
 
28
  # Copy application code
requirements.txt CHANGED
@@ -1,23 +1,23 @@
1
- fastapi==0.104.1
2
- uvicorn[standard]==0.24.0
3
- python-dotenv==1.0.0
4
- pydantic==2.5.0
5
- sqlalchemy==2.0.23
6
- asyncpg==0.29.0
7
- alembic==1.13.0
8
- redis==5.0.1
9
- openai==1.3.7
10
- langchain==0.0.350
11
- langchain-groq==0.0.1
12
- langchain-community==0.4.1
13
- crewai==0.1.4
14
- crewai-tools==0.2.0
15
- python-jose[cryptography]==3.3.0
16
- passlib[bcrypt]==1.7.4
17
- python-multipart==0.0.6
18
- httpx==0.25.2
19
- pandas==2.1.4
20
- numpy==1.25.2
21
- pytest==7.4.3
22
- pytest-asyncio==0.21.1
23
- gtts==2.4.0
 
1
+ fastapi>=0.104.0
2
+ uvicorn[standard]>=0.24.0
3
+ python-dotenv>=1.0.0
4
+ pydantic>=2.5.0
5
+ sqlalchemy>=2.0.0
6
+ asyncpg>=0.29.0
7
+ alembic>=1.13.0
8
+ redis>=5.0.0
9
+ openai>=1.3.0
10
+ langchain>=0.0.350
11
+ langchain-groq>=0.0.1
12
+ langchain-community>=0.4.0
13
+ crewai>=0.1.4
14
+ crewai-tools>=0.2.0
15
+ python-jose[cryptography]>=3.3.0
16
+ passlib[bcrypt]>=1.7.4
17
+ python-multipart>=0.0.6
18
+ httpx>=0.25.0
19
+ pandas>=2.1.0
20
+ numpy>=1.25.0
21
+ pytest>=7.4.0
22
+ pytest-asyncio>=0.21.0
23
+ gtts>=2.4.0