mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 06:29:23 +02:00
Allow running docker container as non-root
This commit is contained in:
parent
a1f03aa5cf
commit
9a3cf4e1dd
3 changed files with 22 additions and 23 deletions
|
@ -19,8 +19,7 @@ if [ -z "$CELERY_BROKER_URL" ]; then
|
|||
fi
|
||||
|
||||
# we copy the frontend files, if any so we can serve them from the outside
|
||||
if [ -d "frontend" ]; then
|
||||
mkdir -p /frontend
|
||||
if [ -d "frontend" ] && [ -d "/frontend" ]; then
|
||||
cp -r frontend/* /frontend/
|
||||
export FUNKWHALE_SPA_HTML_ROOT=/frontend/index.html
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue