# Use Python 3.9 base image FROM python:3.9-slim WORKDIR /app # Copy requirements and install deps COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY . . # Expose Streamlit port EXPOSE 8501 # Run Streamlit app CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]