view service/arduinoNode/Dockerfile @ 1305:965397a2648a

rm old complicated usb bus checker and resetter that caught some error modes and reset the right parts of the usb tree Ignore-this: 1003481c29f8bb01b3758bf6f6241d65 darcs-hash:78af0ceedceca9a96255b825a26003a75f6b5991
author drewp <drewp@bigasterisk.com>
date Sun, 21 Apr 2019 03:04:42 -0700
parents 672a3d830e7f
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" ]