view service/collector/Dockerfile @ 449:ef7eba0551f2

collector partial py3+types update. WIP Ignore-this: 3fe8cc7b09bbfc8bec7f5d6a5e1630b
author drewp@bigasterisk.com
date Thu, 18 Apr 2019 22:00:06 -0700
parents ee74dc3b58fb
children 17a556ddc5ac
line wrap: on
line source

FROM bang6:5000/base_x86

WORKDIR /opt

RUN apt-get install -y vim

COPY requirements.txt ./
RUN pip3 install -Ur 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'

COPY stubs ./stubs
COPY twisted_sse_demo ./twisted_sse_demo
COPY *.py req* ./

EXPOSE 9072

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