FROM docker.io/python:3.11-bookworm
RUN apt-get update && apt-get install -y libgl1 && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /opt/minya
WORKDIR /opt/minya
ADD requirements.txt /opt/minya
RUN python3 -m pip install -r requirements.txt
ADD . /opt/minya
CMD ["python3", "minya.py"]