annotate service/frontDoorLock/Dockerfile @ 1712:6ee9a1c5a991

update deps; code fixes; add skaffold
author drewp@bigasterisk.com
date Sun, 12 Dec 2021 22:03:28 -0800
parents 437d7263b515
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
7f57d171d6d3 py3 and new build
drewp@bigasterisk.com
parents: 379
diff changeset
6 RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt
7f57d171d6d3 py3 and new build
drewp@bigasterisk.com
parents: 379
diff changeset
7 # not sure why this doesn't work from inside requirements.txt
7f57d171d6d3 py3 and new build
drewp@bigasterisk.com
parents: 379
diff changeset
8 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3'
1683
437d7263b515 checkpoint service/frontDoorLock
drewp@bigasterisk.com
parents: 563
diff changeset
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
7f57d171d6d3 py3 and new build
drewp@bigasterisk.com
parents: 379
diff changeset
15 CMD [ "python3", "./front_door_lock.py" ]