From 2c2a7fd0f8dd8d997365df4f8efeaecfe40daad1 Mon Sep 17 00:00:00 2001 From: wjansenw Date: Mon, 1 Feb 2021 15:15:43 +0100 Subject: [PATCH] Update Dockerfile --- grott/Dockerfile | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/grott/Dockerfile b/grott/Dockerfile index 2993e6c..995cd37 100644 --- a/grott/Dockerfile +++ b/grott/Dockerfile @@ -26,21 +26,11 @@ RUN pip3 install influxdb-client #RUN unzip files.zip # Copy data for add-on -#COPY grott.py /app/grott.py -#COPY grottconf.py /app/grottconf.py -#COPY grottdata.py /app/grottdata.py -#COPY grottproxy.py /app/grottproxy.py -#COPY grottsniffer.py /app/grottsniffer.py - COPY script.sh /app/script.sh WORKDIR /app RUN curl -k https://codeload.github.com/johanmeijer/grott/zip/master --output files.zip && unzip files.zip -#RUN unzip files.zip -#COPY grott-master/grott.py /app/grott.py -#COPY grott-master/grottconf.py /app/grottconf.py -#COPY grott-master/grottdata.py /app/grottdata.py -#COPY grott-master/grottproxy.py /app/grottproxy.py -#COPY grott-master/grottsniffer.py /app/grottsniffer.py +RUN rm files.zip +RUM rm grott-master/docker/* RUN chmod a+x script.sh -CMD [ "./script.sh" ] \ No newline at end of file +CMD [ "./script.sh" ]