mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -112,7 +112,7 @@ COPY --from=node-alpine /usr/local/bin/node /usr/local/bin/node
|
||||
|
||||
# libstdc++ is required by Node
|
||||
# libc6-compat is required by task-runner-launcher
|
||||
RUN apk add --no-cache ca-certificates tini libstdc++ libc6-compat
|
||||
RUN apk add --no-cache ca-certificates tini libstdc++ libc6-compat ffmpeg
|
||||
|
||||
RUN addgroup -g 1000 -S runner \
|
||||
&& adduser -u 1000 -S -G runner -h /home/runner -D runner \
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
"PATH",
|
||||
"GENERIC_TIMEZONE",
|
||||
"NODE_OPTIONS",
|
||||
"NODE_FUNCTION_ALLOW_BUILTIN",
|
||||
"NODE_FUNCTION_ALLOW_EXTERNAL",
|
||||
"N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
|
||||
"N8N_RUNNERS_TASK_TIMEOUT",
|
||||
"N8N_RUNNERS_MAX_CONCURRENCY",
|
||||
@@ -36,6 +38,8 @@
|
||||
"health-check-server-port": "5682",
|
||||
"allowed-env": [
|
||||
"PATH",
|
||||
"NODE_FUNCTION_ALLOW_BUILTIN",
|
||||
"NODE_FUNCTION_ALLOW_EXTERNAL",
|
||||
"N8N_RUNNERS_LAUNCHER_LOG_LEVEL",
|
||||
"N8N_RUNNERS_AUTO_SHUTDOWN_TIMEOUT",
|
||||
"N8N_RUNNERS_TASK_TIMEOUT",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"description": "Runtime-only extra dependencies for installing packages in the JavaScript task runner image. Installed at Docker image build time. Allow usage in the Code node via 'NODE_FUNCTION_ALLOW_EXTERNAL' env variable on n8n-task-runners.json.",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"moment": "2.30.1"
|
||||
"moment": "2.30.1",
|
||||
"ytdl-core": "^4.11.5",
|
||||
"youtube-dl-exec": "^3.0.2",
|
||||
"yt-search": "^2.10.4",
|
||||
"ytsr": "^3.8.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user