Spaces:
Running
Running
upload files
Browse files- Dockerfile +16 -0
- requirements.txt +6 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copier requirements et installer
|
| 6 |
+
COPY requirements.txt .
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
|
| 9 |
+
# Copier tous les fichiers
|
| 10 |
+
COPY . .
|
| 11 |
+
|
| 12 |
+
# Exposer le port
|
| 13 |
+
EXPOSE 7860
|
| 14 |
+
|
| 15 |
+
# Lancer l'application
|
| 16 |
+
CMD ["python", "app.py"]
|
requirements.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
flask
|
| 2 |
+
flask-cors
|
| 3 |
+
pandas
|
| 4 |
+
chromadb
|
| 5 |
+
google-genai
|
| 6 |
+
sentence-transformers
|