docker-cloudflare-ddns/Dockerfile
2019-03-08 21:25:08 +00:00

20 lines
298 B
Docker

ARG REPO=library
FROM ${REPO}/python:3-alpine
ARG ARCH=x86_64
COPY ./qemu-${ARCH}-static /usr/bin/
RUN mkdir -p /src
WORKDIR /src
COPY ./requirements.txt ./
RUN pip install -r ./requirements.txt
COPY ./start.sh ./
COPY ./update_ddns.py ./update_ddns.py
ENV DOMAIN=""
CMD [ "/src/start.sh" ]