Use indexes.sql included with openstreetmap-carto instead of own copy (fixes #204)

This commit is contained in:
Alexander Overvoorde
2021-07-19 22:03:49 +02:00
parent 85eaca5c79
commit cfff8fca63
3 changed files with 4 additions and 53 deletions

View File

@@ -79,7 +79,7 @@ RUN apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/
# Install python libraries
RUN pip3 install requests \
RUN pip3 install requests \
&& pip3 install pyyaml
# Set up PostGIS
@@ -132,7 +132,7 @@ RUN mkdir -p /home/renderer/src \
&& cd openstreetmap-carto \
&& rm -rf .git \
&& npm install -g carto@0.18.2 \
&& carto project.mml > mapnik.xml
&& carto project.mml > mapnik.xml
# Configure renderd
RUN sed -i 's/renderaccount/renderer/g' /usr/local/etc/renderd.conf \
@@ -178,7 +178,6 @@ RUN mkdir -p /home/renderer/src \
# Start running
COPY run.sh /
COPY indexes.sql /
ENTRYPOINT ["/run.sh"]
CMD []