diff --git a/Dockerfile b/Dockerfile index 6349661..9809734 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN python3 get-pip.py --prefix=/usr/local # Install Python dependencies RUN python3 -m pip install requests RUN pip install unidecode -RUN rm entrypoint.sh -COPY entrypoint.sh / +COPY entrypoint.sh /usr/local/py COPY freebox-monit.py /usr/local/py -COPY telegraf.conf /etc/telegraf/telegraf.conf \ No newline at end of file +COPY telegraf.conf /etc/telegraf/telegraf.conf + +ENTRYPOINT [/usr/local/py/entrypoint.sh] \ No newline at end of file