mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-11 07:42:58 +03:00
fix: don't try to create a new user if the Docker user is not root (#71)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# If we aren't running as root, just exec the CMD
|
||||
[ "$(id -u)" -ne 0 ] && exec "$@"
|
||||
|
||||
|
||||
echo "Creating user and group..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user