view service/collector/Dockerfile @ 748:6d84cd3eb277

rename to s/sse//; use new browse link Ignore-this: 912ae9ed9ffe9270445837f9a7308b5
author drewp@bigasterisk.com
date Thu, 13 Feb 2020 10:21:05 -0800
parents fe9cfc088a49
children fafe86ae0b03
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 *.py *.html req* *.ini ./

EXPOSE 9072

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