Mercurial > code > home > repos > homeauto
annotate service/frontDoorLock/Dockerfile @ 1754:92999dfbf321 default tip
add shelly support
author | drewp@bigasterisk.com |
---|---|
date | Tue, 04 Jun 2024 13:03:43 -0700 |
parents | 6ee9a1c5a991 |
children |
rev | line source |
---|---|
1712
6ee9a1c5a991
update deps; code fixes; add skaffold
drewp@bigasterisk.com
parents:
1683
diff
changeset
|
1 FROM bang5:5000/base_basic |
377
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
3 WORKDIR /opt |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
4 |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
5 COPY requirements.txt ./ |
563 | 6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt |
7 # not sure why this doesn't work from inside requirements.txt | |
8 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' | |
1683 | 9 RUN pip3 install -U attrs |
377
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
10 |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
11 COPY *.py *.html *.css *.js ./ |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
12 |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
13 EXPOSE 10011:10011 |
5b690bfc31b2
docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff
changeset
|
14 |
563 | 15 CMD [ "python3", "./front_door_lock.py" ] |