Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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 |
+
|