14 lines
462 B
Docker
14 lines
462 B
Docker
FROM alpine:3.20.0
|
|
|
|
ENV TZ=Europe/Paris
|
|
ENV DDNS_MYADDR_KEY=xxxxx
|
|
|
|
RUN apk update && apk add --no-cache tzdata curl wget python3 py3-pip
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
RUN mkdir -m 0777 -p /root/.config/pip && echo "[global]" > /root/.config/pip/pip.conf && echo "break-system-packages = true" >> /root/.config/pip/pip.conf
|
|
RUN pip install requests
|
|
|
|
COPY ./root /
|
|
RUN chmod a+x /start/*.sh
|
|
|
|
CMD ["/start/start.sh"] |