Fixed dockerfile
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user