# Use Hugging Face Space minimal image FROM python:3.10-slim WORKDIR /app # Copy files COPY . /app # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose Streamlit port ENV PORT 8501 ENV STREAMLIT_SERVER_ENABLECORS "false" CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "8501", "--server.address", "0.0.0.0"]