2019-03-06 19:12:14 +00:00
|
|
|
FROM python:3-alpine
|
2019-03-05 19:16:45 +00:00
|
|
|
|
|
|
|
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" ]
|