summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..9fb330c
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,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"]