This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
idhub-docker/docker/idhub.Dockerfile

24 lines
756 B
Docker

FROM debian:bookworm-slim
# last line is dependencies for weasyprint (for generating pdfs in lafede pilot) https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#debian-11
RUN apt update && apt-get install -y \
python3-minimal \
python3-pip \
python3-dev \
python-is-python3 \
git \
sqlite3 \
jq \
python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0
WORKDIR /opt/idhub
RUN python3 -m pip install --upgrade pip --break-system-packages
COPY ssikit_trustchain/didkit-0.3.2-cp311-cp311-manylinux_2_34_x86_64.whl /opt/idhub
COPY IdHub/requirements.txt /opt/idhub
RUN pip install -r requirements.txt --break-system-packages
COPY docker/idhub.entrypoint.sh /
ENTRYPOINT sh /idhub.entrypoint.sh