Mercurial > code > home > repos > homeauto
view service/piNode/Dockerfile @ 1431:af2d0249a2cc
wip for pytype support and separate device run loops on piNode
Ignore-this: 9aa9a3a7e715afefbc858050e02c4c62
darcs-hash:998d048d88b8cbc9e5fcd7576dec8687a9960e8c
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 10 Aug 2019 23:33:50 -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" ]