File size: 365 Bytes
13a2db7
18d2c4b
 
13a2db7
18d2c4b
13a2db7
18d2c4b
 
13a2db7
 
 
18d2c4b
13a2db7
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11-slim

WORKDIR /app
COPY . /app

# Install just the frontend deps
RUN pip install --no-cache-dir -r requirements.txt

# Hugging Face Docker Spaces expect port 7860
EXPOSE 7860
ENV PORT=7860

# Start Streamlit on 0.0.0.0:7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"]