loko99 commited on
Commit
d222214
·
verified ·
1 Parent(s): 983b917

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -15,6 +15,9 @@ RUN mkdir -p /home/node/.n8n /home/node/.config/rclone /home/node/redis-data /ho
15
  COPY startup.sh startup.sh
16
  RUN chmod +x startup.sh
17
 
 
 
 
18
  # Switch to node user
19
  USER node
20
 
 
15
  COPY startup.sh startup.sh
16
  RUN chmod +x startup.sh
17
 
18
+ # Ensure /run/postgresql exists and is writable by node
19
+ RUN mkdir -p /run/postgresql && chmod 775 /run/postgresql && chown node:node /run/postgresql
20
+
21
  # Switch to node user
22
  USER node
23