tsdocode commited on
Commit
2781c2d
·
1 Parent(s): 1626290
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -7,9 +7,13 @@ WORKDIR /data
7
  # Make sure the directory for persistent data exists
8
  VOLUME /data
9
 
 
 
10
  # Make sure the directory /data/uploads exists and has write permissions for all
11
  RUN ["/bin/sh", "-c", "mkdir -p /data && chmod 777 /data"]
12
 
 
 
13
  ENV N8N_USER_FOLDER=/data
14
 
15
  # Set the environment variables
 
7
  # Make sure the directory for persistent data exists
8
  VOLUME /data
9
 
10
+ USER root
11
+
12
  # Make sure the directory /data/uploads exists and has write permissions for all
13
  RUN ["/bin/sh", "-c", "mkdir -p /data && chmod 777 /data"]
14
 
15
+ USER node
16
+
17
  ENV N8N_USER_FOLDER=/data
18
 
19
  # Set the environment variables