diff --git a/var/docker/docker-build.sh b/var/docker/docker-build.sh
index bdbc83d85..48ff1e2e7 100755
--- a/var/docker/docker-build.sh
+++ b/var/docker/docker-build.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
 
 docker rmi localhost/postiz || true
-docker build --target dist -t localhost/postiz -f Dockerfile .
-docker build --target devcontainer -t localhost/postiz-devcontainer -f Dockerfile .
+docker build --target dist -t localhost/postiz -f Dockerfile.dev .
+docker build --target devcontainer -t localhost/postiz-devcontainer -f Dockerfile.dev .
diff --git a/var/docker/docker-create.sh b/var/docker/docker-create.sh
old mode 100644
new mode 100755
diff --git a/var/docker/supervisord.conf b/var/docker/supervisord.conf
index c74f511b3..a957fc23e 100644
--- a/var/docker/supervisord.conf
+++ b/var/docker/supervisord.conf
@@ -8,3 +8,9 @@ file=/run/supervisord.sock
 
 [include]
 files = /etc/supervisor.d/*.conf
+
+[rpcinterface:supervisor]
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
+
+[supervisorctl]
+serverurl=unix:///run/supervisord.sock