Spaces:
Runtime error
Runtime error
Download Dockerfile from code-snipet/my-n8n: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/spaces/code-snipet/my-n8n/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/code-snipet/my-n8n/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/code-snipet/my-n8n/resolve/main/Dockerfile
382 Bytes
| FROM node:22-slim | |
| USER root | |
| # Build tools aur dependencies install karna | |
| RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/* | |
| # Global level par n8n install karna | |
| RUN npm install -g n8n@latest | |
| # Hugging Face ka port open karna | |
| EXPOSE 7860 | |
| # Environment variables set karna taaki n8n isi port par chale | |
| ENV N8N_PORT=7860 | |
| CMD ["n8n", "start"] |