Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
# Start with
|
| 2 |
-
FROM n8nio/n8n:
|
| 3 |
|
| 4 |
# Switch to root to install dependencies and set permissions
|
| 5 |
USER root
|
|
@@ -24,5 +24,5 @@ ENV N8N_USER_FOLDER=/home/user/.n8n
|
|
| 24 |
# Fix permissions warning
|
| 25 |
ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
| 26 |
|
| 27 |
-
# Start n8n
|
| 28 |
-
CMD ["n8n", "start"]
|
|
|
|
| 1 |
+
# Start with a specific, stable n8n image
|
| 2 |
+
FROM n8nio/n8n:1.64.3
|
| 3 |
|
| 4 |
# Switch to root to install dependencies and set permissions
|
| 5 |
USER root
|
|
|
|
| 24 |
# Fix permissions warning
|
| 25 |
ENV N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
|
| 26 |
|
| 27 |
+
# Start n8n using the full path to the command
|
| 28 |
+
CMD ["/usr/local/bin/n8n", "start"]
|