From 99051714f6fcc5b15b478c6de97d1be73d23747b Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 11 May 2023 23:57:12 +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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a524662..1217940 100644 --- a/Dockerfile +++ b/Dockerfile @@ -246,10 +246,9 @@ RUN mkdir -p /cartodb/log && touch /cartodb/log/users_modifications && \ /opt/varnish/sbin/varnishd -a :6081 -T localhost:6082 -s malloc,256m -f /etc/varnish.vcl && \ 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 - -RUN cd /cartodb && bash script/setup_organization.sh && bash script/geocoder.sh" && \ + perl -pi -e 's/0\.22\.0/0.22.2/' /cartodb/app/models/user/db_service.rb +RUN bash -l -c "cd /cartodb && bash script/create_dev_user && \ + 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