Fix volume permissions: entrypoint chowns /data to uid 1000, run app as non-root

This commit is contained in:
inputnoise
2026-05-25 20:50:10 +02:00
parent 03b10b6f86
commit bcc425b6fb
3 changed files with 11 additions and 2 deletions

3
backend/entrypoint.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
chown -R 1000:1000 /data 2>/dev/null || true
exec gosu 1000:1000 "$@"