From 3eea52fa4947ef4775d755fd2f7c4ebc593329d8 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 23:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8a2416..a524662 100644 --- a/Dockerfile +++ b/Dockerfile @@ -247,8 +247,9 @@ RUN mkdir -p /cartodb/log && touch /cartodb/log/users_modifications && \ perl -pi.bak -e 's/^bind 127.0.0.1 ::1$/bind 0.0.0.0/' /etc/redis/redis.conf && \ service postgresql start && service redis-server start && \ perl -pi -e 's/0\.22\.0/0.22.2/' /cartodb/app/models/user/db_service.rb && \ - bash -l -c "cd /cartodb && bash script/create_dev_user && \ - bash script/setup_organization.sh && bash script/geocoder.sh" && \ + bash -l -c "cd /cartodb && bash script/create_dev_user + +RUN cd /cartodb && bash script/setup_organization.sh && bash script/geocoder.sh" && \ service postgresql stop && service redis-server stop && \ chmod +x /cartodb/script/fill_geocoder.sh && \ chmod +x /cartodb/script/sync_tables_trigger.sh