更新 'Dockerfile'

This commit is contained in:
zhongjin 2023-05-12 00:00:06 +08:00
parent 99051714f6
commit 7891dd4c36

View File

@ -247,8 +247,10 @@ 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
RUN bash -l -c "cd /cartodb && bash script/create_dev_user && \
bash script/setup_organization.sh && bash script/geocoder.sh" && \
RUN service postgresql start && service redis-server start && \
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