DDNS compatible with Technitium API and RFC2136
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# copy requirements.txt to current folder
|
||||
COPY src/requirements.txt .
|
||||
|
||||
# install runtime deps
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/technitium-ddns.py .
|
||||
RUN chmod +x ./technitium-ddns.py
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/python", "/app/update_tdns_records.py"]
|
Reference in New Issue
Block a user