comes at a cost of a slightly larger image size but is faster to start because we do not have to install dependencies at runtime
ARG MASS_VERSION
ARG TARGETPLATFORM
ADD dist dist
+
+# pre-install ALL requirements
+# comes at a cost of a slightly larger image size but is faster to start
+# and has less dependencies to install at runtime
+COPY requirements_all.txt .
+RUN uv pip install \
+ --no-cache \
+ --find-links "https://wheels.home-assistant.io/musllinux/" \
+ -r requirements_all.txt
+
# Install Music Assistant from prebuilt wheel
RUN uv pip install \
--no-cache \