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.
This commit is contained in:
Yury Kossakovsky
2025-05-13 12:44:46 -06:00
parent 5658594dd9
commit c125625679

View File

@@ -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