binary1ne commited on
Commit
c61754e
·
verified ·
1 Parent(s): 9689f5b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official n8n image as base
2
+ FROM n8nio/n8n
3
+
4
+ # Set environment variable to change the default port to 7860
5
+ ENV PORT=7860
6
+
7
+ # Expose the custom port
8
+ EXPOSE 7860
9
+
10
+ # Optionally you can override other env vars here
11
+ ENV N8N_BASIC_AUTH_USER=admin
12
+ ENV N8N_BASIC_AUTH_PASSWORD=secret
13
+
14
+ # Default CMD is inherited from base image, which runs n8n