annotate service/frontDoorLock/Dockerfile @ 563:7f57d171d6d3

py3 and new build Ignore-this: 69cf69e5d43adfa65b3f62c5c0af2014
author drewp@bigasterisk.com
date Wed, 01 May 2019 00:30:54 -0700
parents 67cebf7a14de
children 437d7263b515
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
377
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
1 FROM bang6:5000/base_x86
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'
377
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
9
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
10 COPY *.py *.html *.css *.js ./
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
11
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
12 EXPOSE 10011:10011
5b690bfc31b2 docker/etc initial version of front door mqtt<->rdf using some rx
drewp@bigasterisk.com
parents:
diff changeset
13
563
7f57d171d6d3 py3 and new build
drewp@bigasterisk.com
parents: 379
diff changeset
14 CMD [ "python3", "./front_door_lock.py" ]