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
Raw Normal View History

2024-01-23 09:41:20 +00:00
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 \
2023-12-12 10:09:39 +00:00
python-is-python3 \
git \
sqlite3 \
jq \
python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0
WORKDIR /opt/idhub
2024-01-23 09:41:20 +00:00
RUN python3 -m pip install --upgrade pip --break-system-packages
2024-01-23 09:41:20 +00:00
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