# Base image with Python
FROM python:3.11-slim
# Install system dependencies for OpenCV
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy your code
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r [Link]
# Expose port
EXPOSE 8080
# Start the Flask app
CMD ["python", "verify_face.py"]