Mercurial > code > home > repos > homeauto
annotate 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 |
rev | line source |
---|---|
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
1 FROM bang6:5000/base_x86 |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
2 RUN apt-get install -y x11-xserver-utils |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
3 |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
4 COPY requirements.txt ./ |
1523
0da337780f22
dep updates; graph url renames; and other build updates
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
5 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
0da337780f22
dep updates; graph url renames; and other build updates
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
6 # not sure why this doesn't work from inside requirements.txt |
0da337780f22
dep updates; graph url renames; and other build updates
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
7 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' |
1188
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
8 |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
9 COPY *.py ./ |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
10 |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
11 EXPOSE 9095 |
afd19bf8b499
various docker setups and build fixes
drewp <drewp@bigasterisk.com>
parents:
diff
changeset
|
12 |
1523
0da337780f22
dep updates; graph url renames; and other build updates
drewp <drewp@bigasterisk.com>
parents:
1188
diff
changeset
|
13 CMD [ "python3", "./dpms_service.py" ] |