projects
/
music-assistant-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb6eebc
)
use venv for python
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Thu, 26 Sep 2024 22:04:38 +0000
(
00:04
+0200)
committer
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Thu, 26 Sep 2024 22:04:38 +0000
(
00:04
+0200)
Dockerfile.base
patch
|
blob
|
history
diff --git
a/Dockerfile.base
b/Dockerfile.base
index 4f8e698b1c08f924361e32350b5dbe2dee67d500..673ced8c198e10b8a4d19efa0ac4afef6df8f4c1 100644
(file)
--- a/
Dockerfile.base
+++ b/
Dockerfile.base
@@
-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" \