Mercurial > code > home > repos > homeauto
view service/piNode/Dockerfile @ 1449:a2bc6602a0db
dockerfile deps
Ignore-this: b12d406bc1fee7c07092d273904b8b3d
darcs-hash:8b40b2634a6df26e0de4f6ef31c6ef2aabf14c31
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:25:19 -0700 |
parents | 233a07f068a8 |
children | a93fbf0d0daa |
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 pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt ## not sure why this doesn't work from inside requirements.txt RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' # fold these into requirements.txt RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple "devices_shared==0.4.0" RUN apt install -y vim COPY *.py ./ COPY config/ ./config/ EXPOSE 9059 CMD [ "python3", "./piNode.py" ]