Skip to content

Commit

Permalink
last resort
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Sep 27, 2024
1 parent 6b19741 commit 34b387a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 34b387a

Please sign in to comment.