Skip to content

Commit 0c8eaf2

Browse files
committed
Remove Crypto package
1 parent 7612ec0 commit 0c8eaf2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile.n8n

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ARG NODE_ENV=production
55
ARG N8N_PORT=5678
66
ARG SHOWDOWN_VERSION=^2.1.0
77
ARG SLACKIFY_MARKDOWN_VERSION=^4.5.0
8-
ARG CRYPTO_VERSION=^4.2.0
98

109
# Install git for backup script and other packages + install external packages in one layer
1110
USER root
@@ -15,12 +14,11 @@ RUN set -eux; \
1514
--legacy-peer-deps --no-workspaces \
1615
--unsafe-perm \
1716
showdown@${SHOWDOWN_VERSION} \
18-
slackify-markdown@${SLACKIFY_MARKDOWN_VERSION} \
19-
crypto-js@${CRYPTO_VERSION} && \
17+
slackify-markdown@${SLACKIFY_MARKDOWN_VERSION} && \
2018
npm cache clean --force
2119

2220
# Configure external modules allowlist used by Code/Function nodes
23-
ENV NODE_FUNCTION_ALLOW_EXTERNAL="showdown,slackify-markdown,crypto-js"
21+
ENV NODE_FUNCTION_ALLOW_EXTERNAL="showdown,slackify-markdown"
2422

2523
# Create app directory
2624
WORKDIR /home/node

0 commit comments

Comments
 (0)