view service/arduinoNode/Dockerfile @ 1745:d90cb7c06f15

try to crash if mqtt doesn't connect
author drewp@bigasterisk.com
date Thu, 09 Nov 2023 17:21:59 -0800
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" ]