feat(docker): reduce the size of alpine docker images (#3973)

* 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
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-08-31 15:25:52 +02:00
committed by GitHub
parent 8fc9f07f39
commit 398adb23e8
13 changed files with 277 additions and 185 deletions

View File

@@ -1,3 +1,7 @@
**/.env
node_modules
packages/node-dev
packages/*/node_modules
packages/*/dist
packages/*/.turbo
.git