Spaces:
Runtime error
Runtime error
File size: 390 Bytes
6ce3d74 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Dockerfile for Hugging Face Spaces deployment of n8n
FROM n8nio/n8n:latest
# Set working directory
WORKDIR /app
# Expose port
EXPOSE 5678
# Environment variables for basic authentication
ENV N8N_BASIC_AUTH_ACTIVE=true
ENV N8N_BASIC_AUTH_USER=${N8N_BASIC_AUTH_USER}
ENV N8N_BASIC_AUTH_PASSWORD=${N8N_BASIC_AUTH_PASSWORD}
ENV WEBHOOK_URL=${WEBHOOK_URL}
# Start n8n
CMD ["n8n", "start"]
|