FROM python:3.12-slim EXPOSE 80 443 8501 WORKDIR /app RUN apt-get update && \ apt-get install -y build-essential gcc python3-dev pkg-config libhdf5-dev && \ rm -rf /var/lib/apt/lists/* COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["streamlit", "run", "app.py"]