diff --git a/docker/Dockerfile b/docker/Dockerfile
index db44c02a9234ee78bb8cb12251937ae5236dddfe..4b739e7d02a71281b035dd6809c6891dd2197160 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -33,9 +33,7 @@ RUN pip install --prefix="/install" --no-warn-script-location \
 
 COPY . /synapse
 RUN pip install --prefix="/install" --no-warn-script-location \
-        lxml \
-        psycopg2 \
-        /synapse
+        /synapse[all]
 
 ###
 ### Stage 1: runtime