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:
6b19741
)
last resort
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 12:51:29 +0000
(14:51 +0200)
committer
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 12:51:29 +0000
(14:51 +0200)
Dockerfile.base
patch
|
blob
|
history
diff --git
a/Dockerfile.base
b/Dockerfile.base
index dc588981109ab8cbc02511dda2cefba2405207a0..aee3cac5c08d50f350a5fd7a3f9908f0b582e245 100644
(file)
--- 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" \