cheikhaidev-ui commited on
Commit ·
06ad55e
1
Parent(s): 8571801
fix(docker): align Python 3.12-slim with tensorflow-cpu 2.17.1
Browse files- Dockerfile: python:3.11-slim → python:3.12-slim
- requirements.txt: tensorflow-cpu 2.16.1 → 2.17.1
- Stack now consistent: local Python 3.12.5 = Docker 3.12-slim = TF 2.17.1
- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
# Installer libgomp1 pour LightGBM
|
| 4 |
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
-
# Copier les fichiers n�cessaires
|
| 9 |
COPY requirements.txt .
|
| 10 |
COPY streamlit_app ./streamlit_app
|
| 11 |
COPY models ./models
|
|
@@ -13,7 +13,7 @@ COPY data ./data
|
|
| 13 |
COPY src ./src
|
| 14 |
COPY .streamlit ./.streamlit
|
| 15 |
|
| 16 |
-
# Installer les d�pendances
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
# Exposer le port
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
|
| 3 |
# Installer libgomp1 pour LightGBM
|
| 4 |
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
| 8 |
+
# Copier les fichiers n�cessaires
|
| 9 |
COPY requirements.txt .
|
| 10 |
COPY streamlit_app ./streamlit_app
|
| 11 |
COPY models ./models
|
|
|
|
| 13 |
COPY src ./src
|
| 14 |
COPY .streamlit ./.streamlit
|
| 15 |
|
| 16 |
+
# Installer les d�pendances
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
# Exposer le port
|