mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
* reduce redundant code between the two alpine Dockerfiles * reduce the docker image build times * reduce the `n8n` image size from 1.17GB to 462MB * reduce the `n8n-custom` image size from 671MB to 460MB * reduce the size of npm tree by making all typing packages devDependencies Partially resolves this ticket: N8N-3252
n8n - Custom Image
Dockerfile which allows to package up the local n8n code into a docker image.
Usage
Execute the following in the n8n root folder:
docker build -t n8n-custom -f docker/images/n8n-custom/Dockerfile .