FROM python:3.10-slim WORKDIR /app # Copy dependencies COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy all code COPY . /app # Expose the HF Spaces port EXPOSE 7860 # Run the Streamlit app CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]