2019-03-07 21:49:06 +00:00
|
|
|
ARG REPO=library
|
|
|
|
FROM ${REPO}/python:3-alpine
|
2019-03-05 19:16:45 +00:00
|
|
|
|
2019-03-08 21:25:08 +00:00
|
|
|
ARG ARCH=x86_64
|
2019-03-09 00:44:47 +00:00
|
|
|
COPY ./build/qemu-${ARCH}-static /usr/bin/
|
2019-03-08 21:25:08 +00:00
|
|
|
|
|
|
|
|
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" ]
|