# Use the official Python image FROM python:3.11-slim WORKDIR /app # Copy and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY . . # Expose Streamlit port EXPOSE 8080 # Start Streamlit service CMD ["streamlit", "run", "app.py"]