Spaces:
Running
Running
Download Dockerfile from saimgujjar/lead_generation: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/spaces/saimgujjar/lead_generation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/saimgujjar/lead_generation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/saimgujjar/lead_generation/resolve/main/Dockerfile
440 Bytes
| # Standard Node image jahan npm aur node pehle se installed hain | |
| FROM node:18-bullseye-slim | |
| # Installing n8n globally | |
| RUN npm install -g n8n@latest | |
| # Environment variables for Hugging Face | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| ENV N8N_PORT=7860 | |
| ENV N8N_DATA_FOLDER=/data | |
| # Create data directory and set wide permissions | |
| RUN mkdir -p /data && chmod -R 777 /data | |
| WORKDIR /data | |
| # Direct call to global binary path | |
| CMD ["/usr/local/bin/n8n", "start"] |