mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
fix(docker): allow node user to write to n8n/dist/public (#4245)
This commit is contained in:
committed by
GitHub
parent
0cdc2e9dc8
commit
fd22b3fbdf
@@ -6,7 +6,9 @@ if [ -d /root/.n8n ] ; then
|
|||||||
ln -s /root/.n8n /home/node/
|
ln -s /root/.n8n /home/node/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R node /home/node
|
# node user needs to be able to write in this folder to be able to customize static assets
|
||||||
|
mkdir -p /usr/local/lib/node_modules/n8n/dist/public
|
||||||
|
chown -R node /home/node /usr/local/lib/node_modules/n8n/dist/public
|
||||||
|
|
||||||
if [ "$#" -gt 0 ]; then
|
if [ "$#" -gt 0 ]; then
|
||||||
# Got started with arguments
|
# Got started with arguments
|
||||||
|
|||||||
Reference in New Issue
Block a user