File size: 680 Bytes
2a1a941
 
 
 
b713e8b
2a1a941
 
 
 
 
 
b713e8b
2a1a941
 
 
b713e8b
 
 
6464abd
b713e8b
 
 
2a1a941
b713e8b
 
2a1a941
b713e8b
 
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
26
27
28
29
FROM python:3.13.5-slim

WORKDIR /app

# Install system dependencies
RUN apt-get update && apt-get install -y \
    build-essential \
    curl \
    git \
    && rm -rf /var/lib/apt/lists/*

# Copy requirements and install Python packages
COPY requirements.txt ./
RUN pip3 install -r requirements.txt

# Copy application files
COPY src/ ./src/
COPY data/ ./data/
COPY data_questions/ ./data_questions/
COPY models/ ./models/
COPY dataset_info/ ./dataset_info/
COPY .streamlit/ ./.streamlit/

# Expose port 7860 for HF Spaces
EXPOSE 7860

# Run Streamlit with explicit port setting
CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]