FIX: Don't run yarn install as root

FIX: Don’t run yarn install as root

diff --git a/image/base/Dockerfile b/image/base/Dockerfile
index e89e61b..a8b4082 100644
--- a/image/base/Dockerfile
+++ b/image/base/Dockerfile
@@ -140,6 +140,6 @@ RUN useradd discourse -s /bin/bash -m -U &&\
     chown -R discourse:discourse /var/www/discourse &&\
     cd /var/www/discourse &&\
     sudo -u discourse bundle install --deployment --jobs 4 --without test development &&\
-    yarn install &&\
+    sudo -u discourse yarn install &&\
     bundle exec rake maxminddb:get &&\
     find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +

GitHub sha: 6b2cd9970de3260e5b9c627e9d4989a64f438242

This commit appears in #563 which was approved by romanrizzi. It was merged by Falco.