From 9cb9c9ebdb4ffbae004fd5ed16aee4a95d0be8f5 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 20 Jul 2019 17:41:56 -0700 Subject: [PATCH] add Dockerfile for fauxmo --- fauxmo/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fauxmo/Dockerfile diff --git a/fauxmo/Dockerfile b/fauxmo/Dockerfile new file mode 100644 index 0000000..b05af74 --- /dev/null +++ b/fauxmo/Dockerfile @@ -0,0 +1,12 @@ +FROM alpine:3.10 + +# Must run with --net host and --add-host movielights:172.31.0.243 +RUN apk add --no-cache python2=2.7.16-r1 py2-pip=18.1-r0 \ + && pip install requests==2.22.0 \ + && apk del py2-pip + +COPY fauxmo.py / + +USER nobody + +ENTRYPOINT ["/fauxmo.py"]