Mercurial > code > home > repos > homeauto
diff service/arduinoNode/Dockerfile @ 1423:ba56263fe3b2
arduinonode to docker
Ignore-this: 8f689c7491819bc47200018b517fd7de
darcs-hash:e3602fc781c7b66e98ca950d5782ecc41e506bad
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 07 Aug 2019 20:23:04 -0700 |
parents | 672a3d830e7f |
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" ]