aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app')
-rw-r--r--docker/app/build-wiki.Dockerfile2
-rw-r--r--docker/app/scripts/build-uwsgi.sh4
-rw-r--r--docker/app/wheels/wiki-0.5.dev20190420204942-py3-none-any.whlbin0 -> 1287002 bytes
3 files changed, 6 insertions, 0 deletions
diff --git a/docker/app/build-wiki.Dockerfile b/docker/app/build-wiki.Dockerfile
new file mode 100644
index 00000000..92003377
--- /dev/null
+++ b/docker/app/build-wiki.Dockerfile
@@ -0,0 +1,2 @@
+FROM python:3.7
+RUN pip --no-cache-dir wheel --wheel-dir=/wheels "wiki @ git+https://github.com/python-discord/django-wiki.git"
diff --git a/docker/app/scripts/build-uwsgi.sh b/docker/app/scripts/build-uwsgi.sh
new file mode 100644
index 00000000..07c54f66
--- /dev/null
+++ b/docker/app/scripts/build-uwsgi.sh
@@ -0,0 +1,4 @@
+docker build -t build_uwsgi -f docker/app/build-wiki.Dockerfile .
+CONTAINER=$(docker run -itd build_uwsgi /bin/bash)
+docker cp "$CONTAINER:/wheels" docker/app
+docker stop "$CONTAINER"
diff --git a/docker/app/wheels/wiki-0.5.dev20190420204942-py3-none-any.whl b/docker/app/wheels/wiki-0.5.dev20190420204942-py3-none-any.whl
new file mode 100644
index 00000000..b7637e76
--- /dev/null
+++ b/docker/app/wheels/wiki-0.5.dev20190420204942-py3-none-any.whl
Binary files differ