FROM python:3.9-slim # Install system deps (if needed) RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ git \ && rm -rf /var/lib/apt/lists/* # Install Python deps COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy app COPY app.py . CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]