Yassine-AO commited on
Commit
24dc1c0
·
verified ·
1 Parent(s): 214b4ca

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # Start with the official n8n image
2
- FROM n8nio/n8n:latest
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"]