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