From 66971eafdb8d5102a680f08b207ec185e9b155dc Mon Sep 17 00:00:00 2001 From: Uzurka Date: Sat, 24 Jun 2023 23:46:42 +0200 Subject: [PATCH] added entrypoint --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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