File size: 297 Bytes
5416ffb
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

# Ensure mounted volumes are writable by the node user (UID 1000).
# When Docker auto-creates bind-mount directories on the host,
# they default to root:root — the node user can't write to them.
chown -R node:node /app/data /app/config 2>/dev/null || true

exec gosu node "$@"