Add docker setup

This commit is contained in:
Matteo Bertucci committed 2021-01-14 09:40:35 +01:00
1 parent e5fd39c2b0
commit 3fd070021e
5 files changed
+22

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
FROM python:3.9-slim
WORKDIR /app
ENTRYPOINT ["python3", "-m", "cloudflare-ddns"]
CMD []
# Install requirements in a separate step to not rebuild everything when the requirements are updated.
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY . .