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/