cleanup
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 00:49:45 +0000 (02:49 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 00:49:45 +0000 (02:49 +0200)
Dockerfile.base

index 44aa695ef76bafdae81937343124316d5be2e780..3d29f0677a743981526beb03ad8b070e92124da5 100644 (file)
@@ -29,6 +29,8 @@ RUN set -x \
 RUN mkdir -p /usr/local/bin/widevine_cdm
 COPY widevine_cdm/* /usr/local/bin/widevine_cdm/
 
+# Configure runtime environmental variables
+ENV LD_PRELOAD="/usr/lib/libjemalloc.so.2"
 ENV VIRTUAL_ENV=/opt/venv
 RUN python3 -m venv $VIRTUAL_ENV
 ENV PATH="$VIRTUAL_ENV/bin:$PATH"
@@ -40,11 +42,7 @@ RUN pip install --upgrade pip \
     && uv pip install \
     --no-cache \
     --find-links "https://wheels.home-assistant.io/musllinux/" \
-    construct[extras]==2.10.70 \
-
-# Configure runtime environmental variables
-ENV LD_PRELOAD="/usr/lib/libjemalloc.so.2"
-
+    construct[extras]==2.10.70
 
 LABEL \
     org.opencontainers.image.title="Music Assistant Base Image" \