| # Use a minimal base image with Python 3.9 | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip3 install -r requirements.txt | |
| # Run Streamlit app | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false"] | |