# Use official Python slim image FROM python:3.9-slim # Set working directory WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy all files COPY . . # Expose port 5000 (Flask default) EXPOSE 5000 # Run the start script CMD ["./start.sh"]