FROM python:alpine
RUN pip3 install --no-cache-dir linode-dynamic-dns
ENV FREQUENCY=15
CMD linode-dynamic-dns -s "$(expr "$FREQUENCY" '*' 60)" & export HOST="*.$HOST"; linode-dynamic-dns -s "$(expr "$FREQUENCY" '*' 60)"