Commit ·
3b21c1b
1
Parent(s): ffd8902
Change port from 7860 to 8501 to match Streamlit default
Browse files- Dockerfile +3 -3
- README.md +4 -4
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Copier les fichiers
|
| 6 |
COPY requirements.txt .
|
| 7 |
COPY streamlit_app ./streamlit_app
|
| 8 |
COPY models ./models
|
|
@@ -10,7 +10,7 @@ COPY data ./data
|
|
| 10 |
COPY src ./src
|
| 11 |
COPY .streamlit ./.streamlit
|
| 12 |
|
| 13 |
-
# Installer les
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Exposer le port
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Copier les fichiers n�cessaires
|
| 6 |
COPY requirements.txt .
|
| 7 |
COPY streamlit_app ./streamlit_app
|
| 8 |
COPY models ./models
|
|
|
|
| 10 |
COPY src ./src
|
| 11 |
COPY .streamlit ./.streamlit
|
| 12 |
|
| 13 |
+
# Installer les d�pendances
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Exposer le port
|
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
-
app_port:
|
| 8 |
---
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Pr�diction de puissance de Dakar
|
| 3 |
+
emoji: ?
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 8501
|
| 8 |
---
|