mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-06 20:42:43 +08:00
feat(docker): add START_NOGOSU mode
fix https://github.com/jxxghp/MoviePilot/issues/4889
This commit is contained in:
@@ -274,4 +274,8 @@ fi
|
||||
|
||||
# 启动后端服务
|
||||
INFO "→ 启动后端服务..."
|
||||
exec dumb-init gosu moviepilot:moviepilot ${VENV_PATH}/bin/python3 app/main.py
|
||||
if [ "${START_NOGOSU:-false}" = "true" ]; then
|
||||
exec dumb-init "${VENV_PATH}/bin/python3" app/main.py
|
||||
else
|
||||
exec dumb-init gosu moviepilot:moviepilot "${VENV_PATH}/bin/python3" app/main.py
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user