Added the Dockerfile for use of Binder
authorAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 10 Jul 2019 15:08:13 +0000 (17:08 +0200)
committerAntonio Jimenez Pastor <antonio@ebook.dk-compmath.jku.at>
Wed, 10 Jul 2019 15:08:13 +0000 (17:08 +0200)
Dockerfile [new file with mode: 0644]

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..979a19d
--- /dev/null
@@ -0,0 +1,11 @@
+# Dockerfile for binder
+# Reference: https://mybinder.readthedocs.io/en/latest/dockerfile.html#preparing-your-dockerfile
+
+# Temporary work around: the first 8.2 image that was pushed to dockerhub was incompatible
+FROM sagemath/sagemath:8.8
+
+# Copy the contents of the repo in ${HOME}
+COPY --chown=sage:sage . ${HOME}
+
+# Install this package and dependencies
+# RUN sage -pip install .