net/tileserver/Dockerfile

14 lines
458 B
Text
Raw Normal View History

2023-11-17 17:54:53 -05:00
FROM overv/openstreetmap-tile-server:2.3.0
2022-02-03 18:35:39 -05:00
EXPOSE 80
# Remove all original style files
RUN rm -rf /home/renderer/src/openstreetmap-carto/style/*.mss
RUN rm -fr /home/renderer/src/openstreetmap-carto/project.mml
# Add custom style files
ADD carto-style /home/renderer/src/openstreetmap-carto
# Recompile the stylesheet
RUN cd /home/renderer/src/openstreetmap-carto \
&& carto project.mml > mapnik.xml \
&& scripts/get-external-data.py
##TODO ADD map-data/