15 lines
304 B
Docker
15 lines
304 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk --no-cache add \
|
|
python3 \
|
|
py3-pip \
|
|
py3-yaml \
|
|
py3-click \
|
|
py3-dnspython \
|
|
&& python3 -m pip install --break-system-packages \
|
|
ovh \
|
|
schema
|
|
|
|
COPY main.py /usr/local/bin/ovhddns
|
|
COPY periodic.sh /usr/local/bin/ovhddns-periodic
|
|
ENTRYPOINT [ "ovhddns-periodic" ]
|