FROM python:3.8-slim

# Install necessary packages
RUN pip install flask kubernetes

# Copy the script and database into the container
COPY pod_distribution_service.py /app/pod_distribution_service.py
COPY verifier_pod_mapping.db /app/verifier_pod_mapping.db

# Set the working directory
WORKDIR /app

# Run the script
CMD ["python", "pod_distribution_service.py"]