FROM python:3.10-slim WORKDIR /app COPY . . RUN pip install --no-cache-dir pydantic numpy networkx requests streamlit ENV PYTHONHASHSEED=0 ENV PYTHONPATH=/app # Streamlit config for Hugging Face Spaces port binding CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]