From: Marcel van der Veldt Date: Sun, 10 Aug 2025 23:57:04 +0000 (+0200) Subject: Update Dockerfile X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=7a42bd90150d64e0d2ef8ff15c85a6f3394d52f2;p=music-assistant-server.git Update Dockerfile --- 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/