view service/arduinoNode/Dockerfile @ 1611:a794a150a89b

a little inner-loop performace. same number of iterations, but less time on logging and some stmt filtering
author drewp@bigasterisk.com
date Mon, 06 Sep 2021 18:18:42 -0700
parents 5c750342604d
children
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

RUN apt-get install -y arduino-mk indent

COPY requirements.txt ./
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 config/ ./config/

EXPOSE 9059

CMD [ "python", "./arduinoNode.py" ]