Update Dockerfile
Browse files- 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
|
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
|