add Dockerfile for fauxmo

This commit is contained in:
Emil Lerch 2019-07-20 17:41:56 -07:00
parent 507e105c49
commit 9cb9c9ebdb
Signed by: lobo
GPG Key ID: CEC5F37C1BE5A481

12
fauxmo/Dockerfile Normal file
View File

@ -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"]