Spaces:
Running
Running
File size: 440 Bytes
7d6c25d 6294284 7d6c25d 6294284 734196f 6294284 7d6c25d 6294284 7d6c25d 6294284 7d6c25d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # 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"] |