fatmata commited on
Commit
0e45ee1
·
verified ·
1 Parent(s): 8b84cbb

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Dossier de travail
4
+ WORKDIR /code
5
+
6
+ # Installer les dépendances
7
+ COPY requirements.txt .
8
+ RUN pip install --no-cache-dir -r requirements.txt
9
+
10
+ # Copier le code
11
+ COPY . .
12
+
13
+ # Lancer ton app.py avec Gradio (ou FastAPI si tu modifies)
14
+ CMD ["python", "app.py"]