view service/piNode/Dockerfile @ 1543:ab985b87043e

update deps Ignore-this: f36986e77876e431e4a52ffe833c1d18 darcs-hash:b12fa35c14a62bc3d4d9f817c28f25ad69d3a588
author drewp <drewp@bigasterisk.com>
date Thu, 13 Feb 2020 10:17:36 -0800
parents 0da337780f22
children
line wrap: on
line source

FROM bang6:5000/base_pi

# fold these into base image
RUN apt install -y vim

WORKDIR /opt

COPY requirements_*.txt ./
RUN pip3 install -v --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements_slow.txt
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements_external.txt
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements_local.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'

COPY *.py ./
COPY config/ ./config/

EXPOSE 9059

CMD [ "python3", "./piNode.py" ]