FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Spaces expect Streamlit on port 7860 EXPOSE 7860 # Start Streamlit only CMD ["streamlit", "run", "app/app_chat.py", "--server.port=7860", "--server.address=0.0.0.0"]