first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:33:39 +03:00
commit 4362c3b83f
1991 changed files with 285411 additions and 0 deletions

13
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
set -e
# Ensure uploads dir exists; try to chown but ignore failures (some platforms forbid chown)
if [ -d /app/uploads ]; then
chown -R 1000:1000 /app/uploads >/dev/null 2>&1 || true
else
mkdir -p /app/uploads >/dev/null 2>&1 || true
chown -R 1000:1000 /app/uploads >/dev/null 2>&1 || true
fi
# Execute the passed command (do not attempt to change user/groups here)
exec "$@"