view service/piNode/Dockerfile @ 1355:f2159312b0e7

update build and deps to use invoke and to use new lib layout, plus more stats collection Ignore-this: 78f09ba8a1898fd5f79cfc260cd36185 darcs-hash:500de704f71e24aafeb0b6ecf750a7c9f3f2a513
author drewp <drewp@bigasterisk.com>
date Thu, 25 Apr 2019 23:38:47 -0700
parents 10c409c44b3f
children 69a84b3d1dfa
line wrap: on
line source

FROM bang6:5000/base_pi

# super slow build
RUN pip install grpcio==1.18.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/

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