summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 9fb330c3e7a4f7251136ff0c376c36f0e659ddac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM fedora
MAINTAINER Christian Heimes

RUN dnf -y update && dnf clean all
RUN dnf -y install dnf-plugins-core python python-flask python-requests && \
    dnf clean all
RUN dnf -y copr enable simo/jwcrypto && \
    dnf -y install python-jwcrypto python-cryptography && \
    dnf clean all

VOLUME ["/custodia-data"]
EXPOSE 8080

ADD . /custodia-server

CMD ["/custodia-server/run.sh"]