# Pulling directly from Docker Hub to bypass n8n's registry rate limits ARG N8N_VERSION=latest FROM docker.io/n8nio/n8n:$N8N_VERSION # Hugging Face runs containers strictly under User ID 1000 USER node # Force n8n to use port 7860 (Hugging Face's mandatory routing port) ENV N8N_PORT=7860 EXPOSE 7860