fix: Resolve backend logger permission errors

- Fix logger path to use relative path from backend directory
- Add LOG_DIR environment variable support for custom log paths
- Create logs directory with .gitkeep to ensure it exists
- Add docker-entrypoint.sh to handle runtime permissions
- Optimize Dockerfile to set proper permissions for nodejs user
- Ensure logs directory is writable by the application

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-23 14:01:48 +02:00
parent 7ba1b8b054
commit 0087d0fddc
4 changed files with 22 additions and 7 deletions
+2
View File
@@ -0,0 +1,2 @@
# This file ensures the logs directory is tracked in git
# Actual log files are ignored by .gitignore