Spaces:
Runtime error
Runtime error
File size: 336 Bytes
ac3bc8c c6de9f2 ac3bc8c c6de9f2 ac3bc8c c6de9f2 ac3bc8c b999097 | 1 2 3 4 5 6 7 8 9 10 11 12 | FROM n8nio/n8n:latest
USER root
# Ensure the node user has access to its home directory
RUN mkdir -p /home/node/.n8n && chmod -R 777 /home/node/.n8n
# Hugging Face uses port 7860
ENV N8N_PORT=7860
EXPOSE 7860
# Revert to the official n8n entrypoint which handles the paths correctly
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"] |