Mariaxcn commited on
Commit
88cbeeb
·
verified ·
1 Parent(s): cd0f2b2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -6
Dockerfile CHANGED
@@ -1,14 +1,11 @@
1
- # Use the custom n8n image with FFmpeg pre-installed
2
- FROM dhanushreddy29/n8n-ffmpeg:latest
3
 
4
- # Set the correct environment variables for Hugging Face Spaces
5
  ENV N8N_COMMUNITY_PACKAGES_ENABLED=true
6
  ENV N8N_SECURE_COOKIE=false
7
  ENV N8N_PORT=7860
8
  ENV N8N_HOST=0.0.0.0
9
 
10
- # Expose the port required by Hugging Face Spaces
11
  EXPOSE 7860
12
 
13
- # The command to start n8n
14
- CMD ["n8n"]
 
1
+ FROM n8nio/n8n:latest
 
2
 
 
3
  ENV N8N_COMMUNITY_PACKAGES_ENABLED=true
4
  ENV N8N_SECURE_COOKIE=false
5
  ENV N8N_PORT=7860
6
  ENV N8N_HOST=0.0.0.0
7
 
 
8
  EXPOSE 7860
9
 
10
+ # Use the full path to the n8n binary
11
+ CMD ["node", "/usr/local/bin/n8n", "start"]