summary refs log tree commit diff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-02-05 13:42:21 +0000
committerGitHub <noreply@github.com>2019-02-05 13:42:21 +0000
commit40b35fb87516f461ae562b247ab13a80f57beede (patch)
treecf41011830764ee204f0670ed25c253e77ebc8a0 /docker/Dockerfile
parentDocker: only copy what we need to the build image (#4562) (diff)
downloadsynapse-40b35fb87516f461ae562b247ab13a80f57beede.tar.xz
Enable ACME support in the docker image (#4566)
Also:

* Fix wrapping in docker readme
* Clean up some docs on the docker image
* a workaround for #4554
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile15
1 files changed, 14 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index d212334844..c35da67a2a 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,3 +1,16 @@
+# Dockerfile to build the matrixdotorg/synapse docker images.
+#
+# To build the image, run `docker build` command from the root of the
+# synapse repository:
+#
+#    docker build -f docker/Dockerfile .
+#
+# There is an optional PYTHON_VERSION build argument which sets the
+# version of python to build against: for example:
+#
+#    docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.6 .
+#
+
 ARG PYTHON_VERSION=2
 
 ###
@@ -59,6 +72,6 @@ COPY ./docker/conf /conf
 
 VOLUME ["/data"]
 
-EXPOSE 8008/tcp 8448/tcp
+EXPOSE 8008/tcp 8009/tcp 8448/tcp
 
 ENTRYPOINT ["/start.py"]