From 34b387af57caba8a85998ea6326d7320ffba043b Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 27 Sep 2024 14:51:29 +0200 Subject: [PATCH] last resort --- Dockerfile.base | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile.base b/Dockerfile.base index dc5889811..aee3cac5c 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -34,12 +34,18 @@ RUN pip install --upgrade pip \ && pip install uv==0.2.27 # Configure runtime environmental variables +ENV USER="mass" +ENV GROUP="$USER" +ENV PUID="${PUID:-1000}" +ENV PGID="${PGID:-1000}" +ENV UMASK="${UMASK:-}" + 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" WORKDIR /opt/venv - +RUN chmod -r 777 $VIRTUAL_ENV LABEL \ org.opencontainers.image.title="Music Assistant Base Image" \