Matis082 commited on
Commit
1b4b245
·
1 Parent(s): 8dc2698

Use Dockerfile with Python 3.12

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. 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