Files
maschera/j_version/docker-entrypoint.sh
2026-01-22 16:55:02 +01:00

13 lines
345 B
Bash
Executable File

#!/bin/bash
set -e
# Fix permissions on mounted volumes
chmod -R 777 /app 2>/dev/null || true
chmod -R 777 /config 2>/dev/null || true
# Also fix ownership to match PUID/PGID
chown -R ${PUID:-1000}:${PGID:-1000} /app 2>/dev/null || true
chown -R ${PUID:-1000}:${PGID:-1000} /config 2>/dev/null || true
# Execute the original command
exec "$@"