Fixed dockerfile

This commit is contained in:
Antoni Nuñez Romeu
2026-07-22 13:04:37 +02:00
parent 4c41b501e5
commit 0f340d9a8d
2 changed files with 12 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# Fix ownership of data directory (volume mounts may be root-owned)
chown -R node:node /app/data
# Drop to node user and run the app
exec su -s /bin/sh -c "exec node src/index.js" node