This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
strato-ddns/Dockerfile

12 lines
333 B
Docker

FROM python:3-alpine
RUN pip install --no-cache-dir --upgrade pip
WORKDIR /app
COPY src/ ./
ARG APK_BUILD_DEPS=".build-deps gcc musl-dev linux-headers"
RUN apk add --no-cache --virtual $APK_BUILD_DEPS\
&& pip install --no-cache-dir --requirement requirements.txt \
&& apk del $APK_BUILD_DEPS
CMD [ "python", "ddns_update.py" ]