aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index d9fa4245..351df9b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -102,10 +102,10 @@ WORKDIR /slskd
COPY --from=publish /slskd/dist/${TARGETPLATFORM} .
# supports two modes:
-# 1. PUID/PGID (legacy linuxserver style) — container starts as root,
-# mutates user, chowns /app if needed, drops privileges via gosu.
-# 2. --user / user: (modern Docker) — container starts as non-root,
+# 1. --user / user: (modern Docker) — container starts as non-root,
# skips all usermod/chown, execs the app directly.
+# 2. PUID/PGID (legacy linuxserver style) — container starts as root,
+# mutates user, chowns /app if needed, drops privileges via gosu.
COPY <<'SCRIPT' /entrypoint.sh
#!/bin/bash
set -e