# Base image FROM python:3.12-slim # Set workdir WORKDIR /app # Copy files COPY requirements.txt . COPY app.py . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose Streamlit port EXPOSE 8501 # Run Streamlit CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]