view service/collector/Dockerfile @ 1516:4322e8b1481f

consolidate debug page into ./index.html for now Ignore-this: 56775a500165c5c707238d99fbdb6739 darcs-hash:ffca0b24595096ba593c64f1609a56acd50e1522
author drewp <drewp@bigasterisk.com>
date Tue, 04 Feb 2020 22:41:51 -0800
parents a2bc6602a0db
children 6d84cd3eb277
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

RUN apt-get install -y vim net-tools iputils-ping

COPY requirements.txt ./
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -Ur requirements.txt
# not sure why this doesn't work from inside requirements.txt
RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip'

COPY stubs ./stubs
COPY *.py *.html req* *.ini ./

EXPOSE 9072

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