n8n / Dockerfile
ShayanRl's picture
Update Dockerfile
e1b9381 verified
raw
history blame contribute delete
274 Bytes
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"]