Spaces:
No application file
No application file
Create Docker
#7
by
Naveen1754
- opened
No description provided.
FROM n8nio/n8n:latest
1. Use Root (Fixes permission issues)
USER root
2. Stop n8n from complaining about permissions
ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false
3. Setup Ports
ENV N8N_PORT=7860
ENV N8N_HOST=0.0.0.0
4. START COMMAND (The Fix: Use the full path to n8n)
CMD ["/usr/local/bin/n8n", "start"]