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:
07aaa45
)
more typos
author
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 14:41:49 +0000
(16:41 +0200)
committer
Marcel van der Veldt
<m.vanderveldt@outlook.com>
Fri, 27 Sep 2024 14:41:49 +0000
(16:41 +0200)
Dockerfile.base
patch
|
blob
|
history
diff --git
a/Dockerfile.base
b/Dockerfile.base
index b1ed903480f31b9d8bac8fe5577757a26ece8290..55dbb6021572ea381f2cedce517b2a1aab2a4ea0 100644
(file)
--- a/
Dockerfile.base
+++ b/
Dockerfile.base
@@
-35,9
+35,6
@@
RUN pip install --upgrade pip \
# Configure runtime environmental variables
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"
# create mass user (PID 1000, GID 1000)
RUN addgroup --gid 1000 massgroup && \
@@
-45,6
+42,7
@@
RUN addgroup --gid 1000 massgroup && \
USER mass
+ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"