Fix Docker startup permission issue
This commit is contained in:
@@ -41,7 +41,7 @@ run_as_requested_user() {
|
||||
--reuid "$uid" \
|
||||
--regid "$gid" \
|
||||
--clear-groups \
|
||||
env HOME=/app/.ani-cli-web/home ./ani-cli-web "$@"
|
||||
env HOME=/app/.ani-cli-web/home python3 /app/app.py "$@"
|
||||
}
|
||||
|
||||
mkdir -p /downloads /app/.ani-cli-web
|
||||
@@ -54,4 +54,4 @@ fi
|
||||
run_as_requested_user "$@" || true
|
||||
|
||||
cd /app
|
||||
exec ./ani-cli-web "$@"
|
||||
exec python3 /app/app.py "$@"
|
||||
|
||||
Reference in New Issue
Block a user