更新 'Dockerfile'
This commit is contained in:
parent
e3ebcdcabe
commit
4e7f9e9939
@ -51,14 +51,11 @@ ADD ./geocoder_server.sql /cartodb/script/geocoder_server.sql
|
||||
ADD ./fill_geocoder.sh /cartodb/script/fill_geocoder.sh
|
||||
ADD ./sync_tables_trigger.sh /cartodb/script/sync_tables_trigger.sh
|
||||
ENV PATH /usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
|
||||
|
||||
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 && \
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user