mfoud444 commited on
Commit
855829a
·
verified ·
1 Parent(s): 599b426

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -6,8 +6,14 @@ ENV N8N_HOST=0.0.0.0
6
  # Change the default port from 5678 to 7860
7
  ENV N8N_PORT=7860
8
 
 
 
 
 
 
 
9
  # Expose the custom port for Hugging Face Spaces
10
  EXPOSE 7860
11
 
12
- # Persist data volume (handled via runtime in Hugging Face Spaces)
13
  VOLUME /home/node/.n8n
 
6
  # Change the default port from 5678 to 7860
7
  ENV N8N_PORT=7860
8
 
9
+ # Fix permissions warning
10
+ ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
11
+
12
+ # Enable task runners to avoid deprecation warning
13
+ ENV N8N_RUNNERS_ENABLED=true
14
+
15
  # Expose the custom port for Hugging Face Spaces
16
  EXPOSE 7860
17
 
18
+ # Persist data volume
19
  VOLUME /home/node/.n8n