Persisted dirs on docker compose and dockerfile

This commit is contained in:
2026-07-24 11:15:49 -03:00
parent 1372b65399
commit 281ad7142c
2 changed files with 14 additions and 2 deletions
+5
View File
@@ -20,4 +20,9 @@ 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
RUN apk add --no-cache python3
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
COPY nginx/00-callback-provider-cache.conf /etc/nginx/conf.d/00-callback-provider-cache.conf
COPY scripts/callback_provider.py /usr/local/bin/callback-provider.py
COPY nginx/render-callback-provider.sh /docker-entrypoint.d/40-render-callback-provider.sh
RUN chmod +x /docker-entrypoint.d/40-render-callback-provider.sh