From 7a42bd90150d64e0d2ef8ff15c85a6f3394d52f2 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Mon, 11 Aug 2025 01:57:04 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 3 +++ Dockerfile.base | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index de069a04..507127b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.base b/Dockerfile.base index d3ab4d4e..0a64ba9c 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -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/ -- 2.34.1