FROM debian:bullseye-slim
RUN apt update && apt-get install -y \
python3-minimal \
python3-pip \
python3-dev \
python-is-python3
WORKDIR /opt/idhub
RUN python3 -m pip install --upgrade pip
COPY IdHub/requirements.txt /
RUN pip install -r /requirements.txt
COPY docker/idhub.entrypoint.sh /
ENTRYPOINT sh /idhub.entrypoint.sh