view service/powerEagle/Dockerfile @ 786:e8654a3bd1c7

update powereagle for k8s and prometheus
author drewp@bigasterisk.com
date Mon, 31 Aug 2020 00:59:42 -0700
parents 71aa55cd8433
children 4cbe3df8f48f
line wrap: on
line source

FROM bang5:5000/base_x86

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'

COPY *.py *.html ./

EXPOSE 10016

CMD [ "python3", "reader.py" ]