From: Bianca Nenciu Date: Wed, 3 Oct 2018 14:18:37 +0000 (+0300) Subject: Run Rake task to fetch MaxMindDb. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a075be060f84fee4c8474a2bcc23feac1acd174;p=discourse_docker.git Run Rake task to fetch MaxMindDb. --- diff --git a/image/base/Dockerfile b/image/base/Dockerfile index f9c2e6b..9961aab 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -139,4 +139,5 @@ RUN useradd discourse -s /bin/bash -m -U &&\ cd /var/www/discourse &&\ sudo -u discourse bundle install --deployment \ --without test --without development &&\ + bundle exec rake maxminddb:get &&\ find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +