Spaces:
Runtime error
Runtime error
إضافة ملفات جديدة
Browse files- Dockerfile +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 |
-
#
|
| 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
|
|
|
|
| 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
|