Run generic reconciliation in container

This commit is contained in:
Lyncoln
2026-09-20 17:34:01 -04:00
parent d6ad917b57
commit d4ceb7e1df
4 changed files with 143 additions and 22 deletions
+7 -2
View File
@@ -2,13 +2,18 @@ FROM docker.io/library/python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONPATH=/app
PYTHONPATH=/app \
DNS_SYNC_STATE_DB=/var/lib/dns-sync/state.sqlite3 \
DNS_SYNC_PLUGIN_PATH=/plugins
RUN pip install --no-cache-dir requests PyYAML
WORKDIR /app
COPY dns_sync /app/dns_sync
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod 0755 /usr/local/bin/entrypoint.sh
RUN mkdir -p /var/lib/dns-sync /plugins \
&& chmod 0755 /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]