view service/piNode/Dockerfile @ 633:42dab8c6200a

RgbStrip init fix Ignore-this: 2fe82ee432152e2902cc1d81d0895341
author drewp@bigasterisk.com
date Mon, 12 Aug 2019 01:10:12 -0700
parents 69a84b3d1dfa
children 7c04b4f675ec
line wrap: on
line source

FROM bang6:5000/base_pi

# super slow build
RUN pip install grpcio==1.22.0

WORKDIR /opt

COPY requirements.txt ./

RUN pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt

# when we go to py3:
## not sure why this doesn't work from inside requirements.txt
#RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'

COPY *.py ./
COPY config/ ./config/

EXPOSE 9059

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