strato-ddns/Dockerfile

12 lines
333 B
Docker
Raw Normal View History

2020-05-22 14:28:09 +00:00
FROM python:3-alpine
RUN pip install --no-cache-dir --upgrade pip
WORKDIR /app
COPY src/ ./
2020-05-24 17:18:39 +00:00
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
2020-05-22 14:28:09 +00:00
CMD [ "python", "ddns_update.py" ]