Files
n8n-enterprise-unlocked/docker/images/n8n/docker-entrypoint.sh
कारतोफ्फेलस्क्रिप्ट™ 398adb23e8 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
2022-08-31 15:25:52 +02:00

9 lines
135 B
Bash
Executable File

#!/bin/sh
if [ "$#" -gt 0 ]; then
# Got started with arguments
exec node "$@"
else
# Got started without arguments
exec n8n
fi