Mercurial > code > home > repos > homeauto
view service/piNode/Dockerfile @ 1439:233a07f068a8
piNode to py3
Ignore-this: c04a6b87bb776997781404c7e76898d4
darcs-hash:5b1439a8dcebf562fb65368c8db74d194e05301a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 12 Aug 2019 10:07:49 -0700 |
parents | 56e07d3f0930 |
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" ]