Replaced su-exec with gosu, fixed pdm using wrong python version

This commit is contained in:
Donkie
2026-01-05 23:53:41 +01:00
parent 9df3f0c91b
commit 753140ecc3
4 changed files with 9 additions and 24 deletions

View File

@@ -14,4 +14,4 @@ echo User GID: $(id -g app)
echo "Starting uvicorn..."
# Execute the uvicorn command with any additional arguments
exec su-exec "app" uvicorn spoolman.main:app --host $SPOOLMAN_HOST --port $SPOOLMAN_PORT "$@"
exec gosu "app" uvicorn spoolman.main:app --host $SPOOLMAN_HOST --port $SPOOLMAN_PORT "$@"