view service/arduinoNode/Dockerfile @ 605:ad4c4d7c1fb9

reasoning output using treq, and keep writing to PUT calls forever (but not as fast as the reasoning loop runs) Ignore-this: 1633b16dc315082f759041d42e848ced
author drewp@bigasterisk.com
date Tue, 23 Jul 2019 17:30:46 -0700
parents 12f9f1838fb5
children 5c750342604d
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

COPY requirements.txt ./
RUN pip install -r requirements.txt
RUN apt-get install -y arduino-mk indent

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" ]