Heuehneje commited on
Commit
6cf86f2
·
verified ·
1 Parent(s): 4df4140

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -9,5 +9,10 @@ RUN npm install -g n8n
9
  # Expose the default n8n port
10
  EXPOSE 5678
11
 
 
 
 
 
 
12
  # Set the entrypoint
13
  ENTRYPOINT ["n8n"]
 
9
  # Expose the default n8n port
10
  EXPOSE 5678
11
 
12
+ # Set environment variables from Hugging Face secrets
13
+ ENV N8N_BASIC_AUTH_ACTIVE=true
14
+ ENV N8N_BASIC_AUTH_USER=${N8N_USER}
15
+ ENV N8N_BASIC_AUTH_PASSWORD=${N8N_PASSWORD}
16
+
17
  # Set the entrypoint
18
  ENTRYPOINT ["n8n"]