cheikhaidev-ui
fix(critical): align saison/peak_hour encoding + restore TensorFlow on HF
554fba2
Raw History Blame
571 Bytes
FROM python:3.12-slim
# Installer libgomp1 pour LightGBM
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copier les fichiers n�cessaires
COPY requirements-hf.txt .
COPY streamlit_app ./streamlit_app
COPY models ./models
COPY data ./data
COPY src ./src
COPY .streamlit ./.streamlit
# Installer les dependances
RUN pip install --no-cache-dir -r requirements-hf.txt
# Exposer le port
EXPOSE 7860
# Lancer l'application
CMD ["streamlit", "run", "streamlit_app/app.py", "--server.port=7860", "--server.address=0.0.0.0"]