kalhdrawi commited on
Commit
0521ba3
·
1 Parent(s): 558c02f

إضافة ملفات جديدة

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +4 -1
Dockerfile CHANGED
@@ -19,9 +19,9 @@ WORKDIR /app
19
  # Copy only requirements first for better caching
20
  COPY requirements.txt /app/requirements.txt
21
 
22
- # Replace gradio with FastAPI/uvicorn if present
23
  RUN pip install --no-cache-dir --upgrade pip && \
24
- pip install --no-cache-dir -r requirements.txt fastapi uvicorn[standard]
25
 
26
  # Copy application code
27
  COPY . /app
 
19
  # Copy only requirements first for better caching
20
  COPY requirements.txt /app/requirements.txt
21
 
22
+ # Install Python dependencies
23
  RUN pip install --no-cache-dir --upgrade pip && \
24
+ pip install --no-cache-dir -r requirements.txt
25
 
26
  # Copy application code
27
  COPY . /app
requirements.txt CHANGED
@@ -3,4 +3,7 @@ torchvision
3
  pillow
4
  numpy
5
  huggingface_hub
6
- safetensors
 
 
 
 
3
  pillow
4
  numpy
5
  huggingface_hub
6
+ safetensors
7
+ fastapi
8
+ uvicorn[standard]
9
+ python-multipart