Copy renderd manually
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -157,18 +157,10 @@ RUN mkdir -p /run/renderd/ \
|
||||
&& ln -s /data/tiles /var/cache/renderd/tiles \
|
||||
;
|
||||
|
||||
RUN echo '[default] \n\
|
||||
URI=/tile/ \n\
|
||||
TILEDIR=/var/cache/renderd/tiles \n\
|
||||
XML=/home/renderer/src/openstreetmap-carto/mapnik.xml \n\
|
||||
HOST=localhost \n\
|
||||
TILESIZE=256 \n\
|
||||
MAXZOOM=20' >> /etc/renderd.conf \
|
||||
&& sed -i 's,/usr/share/fonts/truetype,/usr/share/fonts,g' /etc/renderd.conf
|
||||
COPY renderd.conf /etc/renderd.conf
|
||||
|
||||
# Install helper script
|
||||
COPY --from=compiler-helper-script /home/renderer/src/regional /home/renderer/src/regional
|
||||
|
||||
COPY --from=compiler-stylesheet /root/openstreetmap-carto /home/renderer/src/openstreetmap-carto-backup
|
||||
|
||||
# Start running
|
||||
|
||||
Reference in New Issue
Block a user