Spaces:
Sleeping
Sleeping
FROM node:latest | |
# Install n8n globally | |
RUN npm install n8n -g | |
# Set environment variables | |
ENV N8N_HOST=0.0.0.0 | |
ENV N8N_PORT=7860 | |
ENV N8N_PROTOCOL=https | |
ENV WEBHOOK_URL=https://shayanrl-n8n.hf.space/ | |
# Expose port | |
EXPOSE 7860 | |
# Command to start n8n | |
CMD ["n8n", "start"] | |