Mercurial > code > home > repos > homeauto
comparison 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 |
comparison
equal
deleted
inserted
replaced
448:8cd163e0e50c | 449:ef7eba0551f2 |
---|---|
1 FROM bang6:5000/base_x86 | 1 FROM bang6:5000/base_x86 |
2 | 2 |
3 WORKDIR /opt | 3 WORKDIR /opt |
4 | 4 |
5 RUN apt-get install -y vim | |
6 | |
5 COPY requirements.txt ./ | 7 COPY requirements.txt ./ |
6 RUN pip install -r requirements.txt | 8 RUN pip3 install -Ur requirements.txt |
7 RUN pip install py-spy | 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' | |
8 | 11 |
12 COPY stubs ./stubs | |
9 COPY twisted_sse_demo ./twisted_sse_demo | 13 COPY twisted_sse_demo ./twisted_sse_demo |
10 COPY *.py req* ./ | 14 COPY *.py req* ./ |
11 | 15 |
12 EXPOSE 9072 | 16 EXPOSE 9072 |
13 | 17 |
14 CMD [ "python", "./sse_collector.py" ] | 18 CMD [ "python3", "./sse_collector.py" ] |