wemo/fauxmo/Dockerfile

13 lines
263 B
Docker
Raw Permalink Normal View History

2019-07-21 00:41:56 +00:00
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"]