GTO-Custom-AI commited on
Commit
4c7eeb6
·
verified ·
1 Parent(s): 6555923

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -5,6 +5,9 @@ FROM n8nio/n8n:latest
5
  ENV N8N_PORT=7860
6
  ENV N8N_PROTOCOL=https
7
 
 
 
 
8
  # POINT N8N TO THE PERSISTENT BUCKET
9
  ENV N8N_USER_FOLDER=/data/.n8n
10
 
@@ -16,5 +19,5 @@ USER 1000
16
  # Expose the HF port
17
  EXPOSE 7860
18
 
19
- # Use absolute path and a shell wrapper to ensure environment variables are expanded
20
- CMD ["sh", "-c", "/usr/local/bin/n8n start"]
 
5
  ENV N8N_PORT=7860
6
  ENV N8N_PROTOCOL=https
7
 
8
+ # Set the path to ensure the n8n binary is found
9
+ ENV PATH="/usr/local/bin:${PATH}"
10
+
11
  # POINT N8N TO THE PERSISTENT BUCKET
12
  ENV N8N_USER_FOLDER=/data/.n8n
13
 
 
19
  # Expose the HF port
20
  EXPOSE 7860
21
 
22
+ # Simple start command - no shell wrapper
23
+ CMD ["n8n", "start"]