sgAtdbd commited on
Commit
3aceeea
·
verified ·
1 Parent(s): 79797aa

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official image for your app
2
+ FROM n8nio/n8n:latest
3
+
4
+ # Switch to root to change permissions if needed
5
+ USER root
6
+
7
+ # Set the port n8n will run on to match Hugging Face's expected port
8
+ ENV N8N_PORT=7860
9
+
10
+ # Expose the port
11
+ EXPOSE 7860
12
+
13
+ # Start n8n
14
+ CMD ["n8n", "start"]