From d31ab5139d695e74c6038e68c88c7f1d003c5e7a Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 24 Jun 2019 23:09:08 +0000 Subject: [PATCH] compile all --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 19bd18a4a..0572a9065 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,8 @@ RUN export MAKEFLAGS="-j$(nproc)" \ # Install HassIO COPY . /usr/src/hassio -RUN pip3 install --no-cache-dir -e /usr/src/hassio +RUN pip3 install --no-cache-dir -e /usr/src/hassio \ + && python3 -m compileall /usr/src/hassio # Initialize udev daemon, handle CMD COPY entry.sh /bin/