Added initial version of KML to Tiles converter

This commit is contained in:
2026-07-24 00:06:24 -03:00
commit f2d0917b92
11 changed files with 790 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM debian:bookworm-slim AS tile-builder
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gdal-bin \
python3 \
python3-pil \
proj-data \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY scripts/ /app/scripts/
COPY config/ /app/config/
RUN chmod +x /app/scripts/build-tiles.sh /app/scripts/build-tiles.py
ENTRYPOINT ["/app/scripts/build-tiles.sh"]
FROM nginx:1.27-alpine AS tile-server
COPY nginx/default.conf /etc/nginx/conf.d/default.conf