Update Dockerfile

This commit is contained in:
wjansenw
2021-02-01 15:15:43 +01:00
committed by GitHub
parent 1a683a2bef
commit 2c2a7fd0f8
+3 -13
View File
@@ -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" ]
CMD [ "./script.sh" ]