summary refs log tree commit diff
path: root/contrib/docker
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2018-08-31 14:40:17 +0200
committerLuca Weiss <luca@z3ntu.xyz>2018-09-11 12:11:22 +0200
commita40802bcbc2838033ecfe468d7845adbb1f3cbb7 (patch)
treef6117bafde6e2ffce31656e8e4b56cfa96f1fdbf /contrib/docker
parentchangelog (diff)
downloadsynapse-a40802bcbc2838033ecfe468d7845adbb1f3cbb7.tar.xz
Fix build of Docker image with docker-compose
... and fix a typo
Diffstat (limited to 'contrib/docker')
-rw-r--r--contrib/docker/docker-compose.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/docker/docker-compose.yml b/contrib/docker/docker-compose.yml
index 3a8dfbae34..61ec700afd 100644
--- a/contrib/docker/docker-compose.yml
+++ b/contrib/docker/docker-compose.yml
@@ -6,9 +6,11 @@ version: '3'
 services:
 
   synapse:
-    build: ../..
+    build:
+        context: ../..
+        dockerfile: docker/Dockerfile
     image: docker.io/matrixdotorg/synapse:latest
-    # Since snyapse does not retry to connect to the database, restart upon
+    # Since synapse does not retry to connect to the database, restart upon
     # failure
     restart: unless-stopped
     # See the readme for a full documentation of the environment settings