From 7df28607583525c2434d3ff46fcc2202a0d3ceb6 Mon Sep 17 00:00:00 2001
From: pierreozoux <pierre@ozoux.net>
Date: Thu, 13 Feb 2020 17:11:22 +0100
Subject: [PATCH] Fixes plugin directory.

---
 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index a07fae0..4592b30 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -88,7 +88,8 @@ RUN curl http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - \
 RUN cd /home/discourse/discourse/plugins \
  && for plugin in $(cat /tmp/install/plugin-list); do \
       git clone $plugin; \
-    done;
+    done; \
+ && chown -R discourse:discourse .
 
 WORKDIR /home/discourse/discourse
 
-- 
GitLab