Files
Automata/docker/images/n8n/docker-entrypoint.sh
Michael Hirschler fb1424cd4e uses non-root user
2020-02-05 21:28:47 +01:00

10 lines
142 B
Bash
Executable File

#!/bin/sh
if [ -d /root/.n8n ] ; then
chmod o+rx /root
chown -R node /root/.n8n
ln -s /root/.n8n /home/node/
fi
exec su-exec node n8n