Add large file form fix patch

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-10-28 13:02:29 +00:00
parent e3ef6ae59d
commit 1f0047c7ad
2 changed files with 136 additions and 2 deletions

View File

@@ -4,11 +4,13 @@ USER root
ARG DOCKER_GID=975
RUN apk add docker docker-compose exiftool
RUN apk add docker docker-compose exiftool patch
RUN sed -i "s/^docker:x:.*$/docker:x:${DOCKER_GID}:node/" /etc/group
RUN npm install -g \
sharp \
exiftool-vendored
ADD large-file-form-fix.patch /tmp/large-file-form-fix.patch
RUN patch /usr/local/lib/node_modules/n8n/templates/form-trigger.handlebars /tmp/large-file-form-fix.patch
USER node