Spaces:
Build error
Build error
Use Dockerfile with Python 3.12
Browse files- Dockerfile +11 -0
- requirements.txt +0 -2
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
RUN pip install --no-cache-dir gradio==4.44.0 httpx>=0.28.0
|
| 6 |
+
|
| 7 |
+
COPY app.py .
|
| 8 |
+
|
| 9 |
+
EXPOSE 7860
|
| 10 |
+
|
| 11 |
+
CMD ["python", "app.py"]
|
requirements.txt
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
gradio>=5.0.0,<5.12.0
|
| 2 |
-
httpx>=0.28.0
|
|
|
|
|
|
|
|
|