Refactor Docker setup: consolidate Dockerfile stages, add entrypoint script, and update .gitignore and .dockerignore

This commit is contained in:
2025-08-25 07:38:08 +02:00
parent 945c686f15
commit 0b8c8a7c32
6 changed files with 64 additions and 42 deletions

6
entrypoint.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -e
chown -R nonroot:nonroot /app/db /app/uploads
exec gosu nonroot "$@"