view service/arduinoNode/Dockerfile @ 1379:baf1acaa9ac9

new simple mode that can set the door without rdf Ignore-this: ff9ab7c6507a7b3fb3252f91b078a318 darcs-hash:98fd79e309f5220c29412c480efefff36778a952
author drewp <drewp@bigasterisk.com>
date Mon, 06 May 2019 21:07: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" ]