Mercurial > code > home > repos > homeauto
comparison service/dpms/Dockerfile @ 1523:0da337780f22
dep updates; graph url renames; and other build updates
Ignore-this: 4603ef3d8db650a13e543dad8580ade8
darcs-hash:0840491cd6a4e4966f47a2abca0ed30ec434022a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 00:23:06 -0800 |
parents | afd19bf8b499 |
children |
comparison
equal
deleted
inserted
replaced
1522:040e12a696a9 | 1523:0da337780f22 |
---|---|
1 FROM bang6:5000/base_x86 | 1 FROM bang6:5000/base_x86 |
2 RUN apt-get install -y x11-xserver-utils | 2 RUN apt-get install -y x11-xserver-utils |
3 | 3 |
4 COPY requirements.txt ./ | 4 COPY requirements.txt ./ |
5 RUN pip install -r requirements.txt | 5 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
6 | 6 # not sure why this doesn't work from inside requirements.txt |
7 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ | 7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' |
8 RUN tar xvzf more.tgz | |
9 | 8 |
10 COPY *.py ./ | 9 COPY *.py ./ |
11 | 10 |
12 EXPOSE 9095 | 11 EXPOSE 9095 |
13 | 12 |
14 CMD [ "python", "./dpms_service.py" ] | 13 CMD [ "python3", "./dpms_service.py" ] |