Allow running docker container as non-root
This commit is contained in:
parent
a1f03aa5cf
commit
9a3cf4e1dd
3 changed files with 21 additions and 22 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