Update Dockerfile
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 10 Aug 2025 23:57:04 +0000 (01:57 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 10 Aug 2025 23:59:00 +0000 (01:59 +0200)
Dockerfile
Dockerfile.base

index de069a046051e79764f65d4dd2e9115b85171b2f..507127b4a5c4e699d369ae22071e90a4093d7e9d 100644 (file)
@@ -8,6 +8,9 @@ FROM ghcr.io/music-assistant/base:$BASE_IMAGE_VERSION AS builder
 ADD dist dist
 COPY requirements_all.txt .
 
+# ensure UV is installed
+COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
+
 # create venv which will be copied to the final image
 ENV VIRTUAL_ENV=/app/venv
 RUN uv venv $VIRTUAL_ENV
index d3ab4d4e1fb07507360b53919205c75aa63d648d..0a64ba9c1f295ba1d35b64d915b8e9b86c49a786 100644 (file)
@@ -24,9 +24,6 @@ RUN set -x \
 COPY --from=mwader/static-ffmpeg:7.1.1 /ffmpeg /usr/local/bin/
 COPY --from=mwader/static-ffmpeg:7.1.1 /ffprobe /usr/local/bin/
 
-# ensure UV is installed into the base image
-COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
-
 # Copy widevine client files to container
 RUN mkdir -p /usr/local/bin/widevine_cdm
 COPY widevine_cdm/* /usr/local/bin/widevine_cdm/