diff service/frontDoorLock/makefile @ 379:67cebf7a14de

frontdoor autolock. logging improvements. use simpler mqtt interface. Ignore-this: e2bf5262a89ebb898108a634679fdec7
author drewp@bigasterisk.com
date Wed, 12 Dec 2018 01:11:54 -0800
parents 5b690bfc31b2
children bfe555dd0c91
line wrap: on
line diff
--- a/service/frontDoorLock/makefile	Wed Dec 12 01:10:48 2018 -0800
+++ b/service/frontDoorLock/makefile	Wed Dec 12 01:11:54 2018 -0800
@@ -6,7 +6,7 @@
 build_image:
 	rm -rf tmp_ctx
 	mkdir -p tmp_ctx
-	cp -a Dockerfile ../../lib/*.py *.py *.txt tmp_ctx
+	cp -a Dockerfile ../../lib/*.py *.py *.txt *.html tmp_ctx
 	docker build --network=host -t ${TAG} tmp_ctx
 	docker push ${TAG}
 	rm -rf tmp_ctx
@@ -16,4 +16,4 @@
 	docker run --rm -it --cap-add SYS_PTRACE --net=host bang6:5000/$(JOB)_x86:latest  /bin/sh
 
 local_run:
-	docker run --rm -it --net=host bang6:5000/$(JOB)_x86:latest
+	docker run --rm -it --net=host -v `pwd`/index.html:/opt/index.html bang6:5000/$(JOB)_x86:latest python ./front_door_lock.py