Find own ipv6 address and loop updates

This commit is contained in:
Michael Mandl 2020-05-24 19:18:39 +02:00
parent 67a5b82d9b
commit 4d78196461
4 changed files with 61 additions and 25 deletions

View file

@ -3,5 +3,9 @@ RUN pip install --no-cache-dir --upgrade pip
WORKDIR /app
COPY src/ ./
RUN pip install --no-cache-dir --requirement requirements.txt
ARG APK_BUILD_DEPS=".build-deps gcc musl-dev linux-headers"
RUN apk add --no-cache --virtual $APK_BUILD_DEPS\
&& pip install --no-cache-dir --requirement requirements.txt \
&& apk del $APK_BUILD_DEPS
CMD [ "python", "ddns_update.py" ]