Add Dockerfile for wemo binary (need to build wemo statically

This commit is contained in:
Emil Lerch 2020-01-28 17:01:48 -08:00
parent 607d82ad95
commit cc1c541d41
Signed by: lobo
GPG Key ID: CEC5F37C1BE5A481

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM scratch
COPY wemo /
COPY --chown=65534:65534 movieMode.json /tmp/
WORKDIR /tmp
USER 65534
EXPOSE 8081
ENTRYPOINT ["/wemo"]