diff --git a/Dockerfile b/Dockerfile index 705b003..ba5394f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,6 @@ FROM n8nio/n8n:latest USER root COPY inject.js /tmp -COPY dist.tgz /tmp RUN cat /tmp/inject.js >> /usr/local/lib/node_modules/n8n/packages/cli/dist/License.js -COPY docker-entrypoint.sh / - -USER node +USER node \ No newline at end of file diff --git a/dist.tgz b/dist.tgz deleted file mode 100644 index fd0bb41..0000000 Binary files a/dist.tgz and /dev/null differ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh deleted file mode 100755 index 2347f09..0000000 --- a/docker-entrypoint.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -mkdir -p ~/.n8n/nodes -if [ -n "$NPM_PACKAGES" ]; then - cd ~/.n8n/nodes - npm install $NPM_PACKAGES - cd - -fi - -if [ -n "$CUSTOM_UI" ]; then - rm -rf /usr/local/lib/node_modules/n8n/packages/editor-ui/dist - tar -xzf /tmp/dist.tgz -C /usr/local/lib/node_modules/n8n/packages/editor-ui -fi - -if [ "$#" -gt 0 ]; then - # Got started with arguments - exec n8n "$@" -else - # Got started without arguments - exec n8n -fi