ShayanRl commited on
Commit
63cd170
·
verified ·
1 Parent(s): c0d9294
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,14 +1,14 @@
1
  # n8n Dockerfile
2
  FROM node:latest
3
  RUN npm install -g n8n
4
- VOLUME ["/var/run/docker.sock", "/root/data/:home/node/.n8n"]
5
  # Set environment variables
6
  ENV N8N_HOST=shayanrl-n8n.hf.space \
7
  N8N_PORT=7860 \
8
  N8N_PROTOCOL=https \
9
  NODE_ENV=production \
10
  WEBHOOK_URL=https://shayanrl-n8n.hf.space/app1 \
11
- N8N_PATH=/root/data/:home/node/.n8n/
12
 
13
  # Expose the port for n8n
14
  EXPOSE 7860
 
1
  # n8n Dockerfile
2
  FROM node:latest
3
  RUN npm install -g n8n
4
+ VOLUME ["/var/run/docker.sock", "/root/data/home/node/.n8n"]
5
  # Set environment variables
6
  ENV N8N_HOST=shayanrl-n8n.hf.space \
7
  N8N_PORT=7860 \
8
  N8N_PROTOCOL=https \
9
  NODE_ENV=production \
10
  WEBHOOK_URL=https://shayanrl-n8n.hf.space/app1 \
11
+ N8N_PATH=/root/data/home/node/.n8n/
12
 
13
  # Expose the port for n8n
14
  EXPOSE 7860