Create Docker Image using npm run build

Hi Team,

Am trying to build an Docker image using below git clone GitHub - n8n-io/n8n: Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services. i need to include my DB on it how can i achive that

What am doing
Create Dockerfile with centos image and install all the needs as per this doc

Sorry, do not understand what you mean with you need to include your DB. SQLite is installed by default. If you want to use another database, then it should run in a different docker image. You can make sure that they start together and communicate with a docker-compose file. Here an example with postgres.

Generally would be a good starting point for a custom n8n build the n8n-custom docker-file.