File size: 727 Bytes
6add3e6
 
e109825
6add3e6
e109825
 
6add3e6
e109825
 
 
 
 
6add3e6
 
 
e109825
6add3e6
 
e109825
6add3e6
 
e109825
6add3e6
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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"]