view service/piNode/Dockerfile @ 642:0a39cb133ce5

remove pytz and time table Ignore-this: 313d0397eb8d059a5f91ceb50f6e105a remove mostly to separateDeviceRunners
author drewp@bigasterisk.com
date Sun, 18 Aug 2019 14:39:03 -0700
parents 7c04b4f675ec
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" ]