Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
|
@@ -1,14 +1,11 @@
|
|
| 1 |
-
|
| 2 |
-
FROM dhanushreddy29/n8n-ffmpeg:latest
|
| 3 |
|
| 4 |
-
# Set the correct environment variables for Hugging Face Spaces
|
| 5 |
ENV N8N_COMMUNITY_PACKAGES_ENABLED=true
|
| 6 |
ENV N8N_SECURE_COOKIE=false
|
| 7 |
ENV N8N_PORT=7860
|
| 8 |
ENV N8N_HOST=0.0.0.0
|
| 9 |
|
| 10 |
-
# Expose the port required by Hugging Face Spaces
|
| 11 |
EXPOSE 7860
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
CMD ["n8n"]
|
|
|
|
| 1 |
+
FROM n8nio/n8n:latest
|
|
|
|
| 2 |
|
|
|
|
| 3 |
ENV N8N_COMMUNITY_PACKAGES_ENABLED=true
|
| 4 |
ENV N8N_SECURE_COOKIE=false
|
| 5 |
ENV N8N_PORT=7860
|
| 6 |
ENV N8N_HOST=0.0.0.0
|
| 7 |
|
|
|
|
| 8 |
EXPOSE 7860
|
| 9 |
|
| 10 |
+
# Use the full path to the n8n binary
|
| 11 |
+
CMD ["node", "/usr/local/bin/n8n", "start"]
|