From c12562567932275b63b2f6cd188a0b76d44d497b Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Tue, 13 May 2025 12:44:46 -0600 Subject: [PATCH] Add npm install command for cheerio in n8n service - Updated the docker-compose.yml file to include a command that installs the cheerio package before starting the n8n service. This ensures that the necessary dependencies are available for the application to function correctly. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 114da2d..179ad9c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,7 @@ volumes: x-n8n: &service-n8n image: n8nio/n8n:latest + command: /bin/sh -c "npm install cheerio && n8n" environment: &service-n8n-env DB_TYPE: postgresdb DB_POSTGRESDB_HOST: postgres