comparison service/collector/Dockerfile @ 1254:666f9a2198a7

add types to sse_collector.py. Surprisingly few bugs found. Ignore-this: df20acbf7ec27226f3060f3b5a4c710b darcs-hash:7c699d51556f20c785dfc9190e9ce8e38c0fa1e6
author drewp <drewp@bigasterisk.com>
date Fri, 19 Apr 2019 01:08:01 -0700
parents 9cfa7f69e41f
children 7fd9fa5d33aa
comparison
equal deleted inserted replaced
1253:0e7044b23dad 1254:666f9a2198a7
6 6
7 COPY requirements.txt ./ 7 COPY requirements.txt ./
8 RUN pip3 install -Ur requirements.txt 8 RUN pip3 install -Ur requirements.txt
9 # not sure why this doesn't work from inside requirements.txt 9 # not sure why this doesn't work from inside requirements.txt
10 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip' 10 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip'
11 RUN touch /usr/local/lib/python3.6/dist-packages/greplin/__init__.py
11 12
12 COPY stubs ./stubs 13 COPY stubs ./stubs
13 COPY twisted_sse_demo ./twisted_sse_demo 14 COPY twisted_sse_demo ./twisted_sse_demo
14 COPY *.py req* ./ 15 COPY *.py req* *.ini ./
15 16
16 EXPOSE 9072 17 EXPOSE 9072
17 18
18 CMD [ "python3", "./sse_collector.py" ] 19 CMD [ "python3", "./sse_collector.py" ]