Skip to content

Commit

Permalink
use venv for python
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Sep 26, 2024
1 parent fb6eebc commit 1aae046
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ RUN pip install --upgrade pip \

# Configure runtime environmental variables
ENV LD_PRELOAD="/usr/lib/libjemalloc.so.2"
ENV UV_SYSTEM_PYTHON="1"

ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

LABEL \
org.opencontainers.image.title="Music Assistant Base Image" \
Expand Down

0 comments on commit 1aae046

Please sign in to comment.