Spaces:
Sleeping
Sleeping
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -5,6 +5,9 @@ FROM n8nio/n8n:latest
|
|
| 5 |
ENV N8N_PORT=7860
|
| 6 |
ENV N8N_PROTOCOL=https
|
| 7 |
|
|
|
|
|
|
|
|
|
|
| 8 |
# POINT N8N TO THE PERSISTENT BUCKET
|
| 9 |
ENV N8N_USER_FOLDER=/data/.n8n
|
| 10 |
|
|
@@ -16,5 +19,5 @@ USER 1000
|
|
| 16 |
# Expose the HF port
|
| 17 |
EXPOSE 7860
|
| 18 |
|
| 19 |
-
#
|
| 20 |
-
CMD ["
|
|
|
|
| 5 |
ENV N8N_PORT=7860
|
| 6 |
ENV N8N_PROTOCOL=https
|
| 7 |
|
| 8 |
+
# Set the path to ensure the n8n binary is found
|
| 9 |
+
ENV PATH="/usr/local/bin:${PATH}"
|
| 10 |
+
|
| 11 |
# POINT N8N TO THE PERSISTENT BUCKET
|
| 12 |
ENV N8N_USER_FOLDER=/data/.n8n
|
| 13 |
|
|
|
|
| 19 |
# Expose the HF port
|
| 20 |
EXPOSE 7860
|
| 21 |
|
| 22 |
+
# Simple start command - no shell wrapper
|
| 23 |
+
CMD ["n8n", "start"]
|