Files
cloudflare-ddns-docker-updated/Dockerfile
Matteo Bertucci 3fd070021e Add docker setup
2021-01-14 09:40:35 +01:00

13 lines
266 B
Docker

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 . .