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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -1,8 +1,6 @@
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"]
 
1
  FROM n8nio/n8n:latest
 
2
  USER root
 
3
  ENV N8N_PORT=7860
4
+ ENV WEBHOOK_URL=https://${SPACE_HOST}/
5
+ ENTRYPOINT []
6
+ CMD sh -c "n8n start"