13 lines
458 B
Docker
13 lines
458 B
Docker
FROM overv/openstreetmap-tile-server:2.3.0
|
|
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/
|