diff service/arduinoNode/Dockerfile @ 620:5c750342604d

arduinonode to docker Ignore-this: 8f689c7491819bc47200018b517fd7de
author drewp@bigasterisk.com
date Wed, 07 Aug 2019 20:23:04 -0700
parents 12f9f1838fb5
children
line wrap: on
line diff
--- a/service/arduinoNode/Dockerfile	Sun Aug 04 13:03:18 2019 -0700
+++ b/service/arduinoNode/Dockerfile	Wed Aug 07 20:23:04 2019 -0700
@@ -2,18 +2,15 @@
 
 WORKDIR /opt
 
+RUN apt-get install -y arduino-mk indent
+
 COPY requirements.txt ./
-RUN pip install -r requirements.txt
-RUN apt-get install -y arduino-mk indent
+RUN pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
 
 COPY arduino-libraries/ ./arduino-libraries/
 COPY *.py ./
-COPY static/ ./static/
 COPY config/ ./config/
 
-ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
-RUN tar xvzf more.tgz
-
 EXPOSE 9059
 
 CMD [ "python", "./arduinoNode.py" ]