Fix volume permissions: entrypoint chowns /data to uid 1000, run app as non-root
This commit is contained in:
3
backend/entrypoint.sh
Executable file
3
backend/entrypoint.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
chown -R 1000:1000 /data 2>/dev/null || true
|
||||
exec gosu 1000:1000 "$@"
|
||||
Reference in New Issue
Block a user