Ian Fijolek
1cb69ad575
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
317 B
Docker
22 lines
317 B
Docker
ARG REPO=library
|
|
FROM ${REPO}/python:3-alpine
|
|
|
|
ARG ARCH=x86_64
|
|
COPY ./build/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=""
|
|
|
|
USER nobody
|
|
|
|
CMD [ "/src/start.sh" ]
|