PhSecX commited on
Commit
490a5c7
·
verified ·
1 Parent(s): 1d1235c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,11 +1,8 @@
1
- # n8n ka official image use karein
2
  FROM n8nio/n8n:latest
3
 
4
- # User permissions set karein (Hugging Face ke liye zaroori hai)
5
  USER root
6
 
7
- # Port 7860 use karein kyunke HF isi par chalta hai
8
  ENV N8N_PORT=7860
9
 
10
- # n8n start karne ki command
11
- CMD ["n8n", "start"]
 
 
1
  FROM n8nio/n8n:latest
2
 
 
3
  USER root
4
 
 
5
  ENV N8N_PORT=7860
6
 
7
+ # Forcefully path define karna
8
+ CMD ["node", "/usr/local/lib/node_modules/n8n/bin/n8n", "start"]