view service/collector/Dockerfile @ 1459:6c6b14c39cd2

release 0.2.0 Ignore-this: 68d50df5792c57ef558e7636046db7b7 darcs-hash:2a499b0e26f9fe8ef91d93d73777bfd8ace3d5a7
author drewp <drewp@bigasterisk.com>
date Wed, 25 Sep 2019 17:56:28 -0700
parents a2bc6602a0db
children fe9cfc088a49
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 req* *.ini ./
COPY static ./static

EXPOSE 9072

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