From 2753566e0a5a1093e883ee14adf6632f618761f3 Mon Sep 17 00:00:00 2001 From: mjysci Date: Fri, 26 Mar 2021 19:16:53 +0800 Subject: [PATCH] :bug: Fix rpi docker image permission issue (#1587) --- docker/images/n8n-rpi/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/images/n8n-rpi/Dockerfile b/docker/images/n8n-rpi/Dockerfile index 674fff1d39..329b7e7dfe 100644 --- a/docker/images/n8n-rpi/Dockerfile +++ b/docker/images/n8n-rpi/Dockerfile @@ -15,5 +15,7 @@ ENV NODE_ENV production WORKDIR /data +USER root + CMD chown -R node:node /home/node/.n8n \ && gosu node n8n