build(container): run caddy as root to avoid 'no matching entries in passwd file' in certain runtimes
This commit is contained in:
@@ -80,8 +80,7 @@ CADDY
|
|||||||
|
|
||||||
# Permissions: using default ownership; no chown required
|
# Permissions: using default ownership; no chown required
|
||||||
|
|
||||||
# Switch to caddy user
|
# Run as root (default) to ensure user mapping is available in all runtimes
|
||||||
USER caddy
|
|
||||||
|
|
||||||
# Expose port
|
# Expose port
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|||||||
Reference in New Issue
Block a user