diff --git a/Dockerfile b/Dockerfile
index eaae853af8ce93bc1424a8b1e6b9aee30a9ce470..eb641d667004c9e29f3e13892b580f1245e0d779 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -59,6 +59,12 @@ COPY weblate/settings_proposed_2.10.1.py /var/lib/weblate/config/settings.py
 RUN mkdir -p /var/lib/weblate/config
 COPY apache/apache-vhost.conf /var/lib/weblate/config/apache-vhost.conf
 
+# set python3 as default
+RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
+
+# enable wsgi
+RUN a2enmod wsgi
+
 # Install Weblate
 RUN /usr/local/sbin/weblate-setup-env.sh; /usr/local/sbin/weblate-install.sh