Spaces:
Runtime error
Runtime error
Download Dockerfile from war-machine/Space: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/war-machine/Space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/war-machine/Space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/war-machine/Space/resolve/main/Dockerfile
336 Bytes
| FROM n8nio/n8n:latest | |
| USER root | |
| # Ensure the node user has access to its home directory | |
| RUN mkdir -p /home/node/.n8n && chmod -R 777 /home/node/.n8n | |
| # Hugging Face uses port 7860 | |
| ENV N8N_PORT=7860 | |
| EXPOSE 7860 | |
| # Revert to the official n8n entrypoint which handles the paths correctly | |
| ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"] |