container

This commit is contained in:
stryan 2023-07-24 18:21:59 -04:00
parent aab918351f
commit b65feb7683
2 changed files with 16 additions and 0 deletions

11
Containerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.11-slim-buster
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY src/gandi-live-dns.py .
COPY src/config.py .
CMD ["python3", "gandi-live-dns.py"]

5
requirements.txt Normal file
View File

@ -0,0 +1,5 @@
certifi==2023.7.22
charset-normalizer==3.2.0
idna==3.4
requests==2.31.0
urllib3==2.0.4