# Use official slim Python image FROM python:3.10-slim # Set working directory WORKDIR /app # Copy all files COPY . . # Install required packages RUN pip install --no-cache-dir -r requirements.txt # Expose Flask (5000) and Streamlit (7860) EXPOSE 5000 EXPOSE 7860 # Run launcher script CMD ["python", "main.py"]