# Use slim Python base image FROM python:3.10-slim # Set working directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ build-essential curl git && \ rm -rf /var/lib/apt/lists/* # Copy dependencies COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY . . # Expose Streamlit port EXPOSE 8501 # Run the Streamlit app #Option 1 CMD ["streamlit", "run", "streamlit-app.py", "--server.port=7860", "--server.address=0.0.0.0"]