From 1a075be060f84fee4c8474a2bcc23feac1acd174 Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Wed, 3 Oct 2018 17:18:37 +0300 Subject: [PATCH] Run Rake task to fetch MaxMindDb. --- image/base/Dockerfile | 1 + 1 file changed, 1 insertion(+) 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 {} + -- 2.25.1