view service/arduinoNode/Dockerfile @ 1301:edb673a7dff8

rm old golang service that ran on a pi connected to an arduino connected to RGB leds. includes some color picker using polymer Ignore-this: ca47318f8bea6603ff3d584df19d5ca darcs-hash:4c2add59e2c23a21b87e7d497bb6949cfb8e9fab
author drewp <drewp@bigasterisk.com>
date Sun, 21 Apr 2019 02:52:49 -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" ]