# Use a stable Python version FROM python:3.11-slim # Set the working directory WORKDIR /app # Install basic system tools RUN apt-get update && apt-get install -y \ build-essential \ curl \ && rm -rf /var/lib/apt/lists/* # Copy EVERYTHING in your repository to the container # This includes app.py, output.csv, and VC_Syndicate_Graph.gexf COPY . . # Install your libraries (ensure pyvis and networkx are in requirements.txt) RUN pip3 install --no-cache-dir -r requirements.txt # Hugging Face MUST use port 7860 EXPOSE 7860 # Run the app exactly as named in your file list # We assume the file is now renamed to app.py ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]