feat(docker): enhance entrypoint script with ownership checks and provide fix suggestion for permission issues

This commit is contained in:
Daniel Volz
2025-12-27 13:36:53 +01:00
parent 3d497ea6a8
commit fe1f83e305
2 changed files with 22 additions and 2 deletions
+4
View File
@@ -25,6 +25,10 @@ services:
- /tmp:noexec,nosuid,size=64m
cap_drop:
- ALL
cap_add:
- CHOWN
- SETUID
- SETGID
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://localhost:3000/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"]
interval: 30s