mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user