Run generic reconciliation in container
This commit is contained in:
+7
-2
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user