Compile only hassio

This commit is contained in:
Pascal Vizeli 2019-06-24 23:21:15 +00:00
parent d31ab5139d
commit 51efcefdab

View File

@ -25,7 +25,7 @@ RUN export MAKEFLAGS="-j$(nproc)" \
# Install HassIO
COPY . /usr/src/hassio
RUN pip3 install --no-cache-dir -e /usr/src/hassio \
&& python3 -m compileall /usr/src/hassio
&& python3 -m compileall /usr/src/hassio/hassio
# Initialize udev daemon, handle CMD
COPY entry.sh /bin/