gandi-live-dns/Dockerfile
David Ervideira b55e96d78c The script it self can run forver now
* Add option for the script to repeat itself
  after N seconds

* Add a Dockerfile so that this could be run
  inside docker
2019-12-09 16:10:00 +00:00

14 lines
325 B
Docker

FROM python:3.7-buster
LABEL maintainer=david@dme.ninja
LABEL version="0.1"
# Copy scripts and requirements.txt
COPY src/ /gandi-live-dns
COPY requirements.txt /requirements.txt
# Install script requirements.txt
RUN pip install -r /requirements.txt
CMD ["python", "/gandi-live-dns/gandi-live-dns.py", "-v", "-r", "3600"]