view service/piNode/Dockerfile @ 1432:ff868a0abac7

add pytype dockerfile Ignore-this: b32fd623ecc2a0e1ce400e80c077c33f darcs-hash:f05b73e7a21c46fe2ce9e4d6cda9fa0f1f7904d2
author drewp <drewp@bigasterisk.com>
date Sat, 10 Aug 2019 23:44:17 -0700
parents 56e07d3f0930
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" ]