AnishaG0201 commited on
Commit
5a14b3c
·
verified ·
1 Parent(s): 7546c29

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -11,5 +11,9 @@ ENV N8N_BASIC_AUTH_PASSWORD="password"
11
  # Expose the port n8n will run on
12
  EXPOSE 7860
13
 
 
 
 
14
  # Start n8n
15
  CMD ["n8n", "start"]
 
 
11
  # Expose the port n8n will run on
12
  EXPOSE 7860
13
 
14
+ # Ensure Node.js and n8n command path is set correctly
15
+ RUN npm install -g n8n
16
+
17
  # Start n8n
18
  CMD ["n8n", "start"]
19
+