## Setup N8N with FFMPEG ```bash mkdir ai-automation cd ai-automation mkdir n8n cd n8n nano Dockerfile ``` #### Then paste the content below into the file ```Dockerfile FROM n8nio/n8n:latest USER root # Install FFmpeg (example for Alpine Linux, common for n8n base image) RUN apk add --no-cache ffmpeg USER node ``` #### Then press `ctrl+o` then `enter` then `ctrl+x` ```yml services: n8n: container_name: n8n build: ./n8n/ ports: - "5678:5678" volumes: - n8n_data:/home/node/.n8n - ./n8n/shared:/data/shared restart: unless-stopped volumes: n8n_data: name: n8n_data ```