Sign inSign up

edp8489/neon8n

By edp8489

•Updated 10 months ago
Archived

arm64 builds of naskio/neon8n (n8n enhanced with Python Function module)

Image
Web servers
0

645

edp8489/neon8n repository overview

# Dockerfile
FROM nikolaik/python-nodejs:python3.12-nodejs24-slim

# changing user `pn` to `node`
RUN usermod --login node --move-home --home /home/node pn
RUN groupmod --new-name node pn

ARG N8N_VERSION

RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi

RUN \
	apt-get update && \
	apt-get -y install graphicsmagick gosu git

# Install python requirements
RUN mkdir /requirements
COPY requirements.txt /requirements/requirements.txt
RUN python -m pip install --upgrade pip setuptools wheel
RUN pip install -r /requirements/requirements.txt

# Configure npm to use a different directory for global installations
RUN mkdir -p /opt/npm-global
RUN chown node:node /opt/npm-global

ENV NPM_CONFIG_PREFIX=/opt/npm-global
ENV PATH=$NPM_CONFIG_PREFIX/bin:$PATH

RUN npm_config_user=node npm install -g full-icu n8n@${N8N_VERSION}

ENV NODE_ICU_DATA=$NPM_CONFIG_PREFIX/lib/node_modules/full-icu

# Install n8n-nodes-python & other packages from neon8n Dockerfile
RUN npm install --prefix=/home/node/.n8n/nodes \
                 n8n-nodes-python \
                 n8n-nodes-changed \
                 n8n-nodes-updates \
                 n8n-nodes-influxdb \
                 n8n-nodes-pdf-to-images


WORKDIR /home/node

COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN  chmod +x /docker-entrypoint.sh

ENTRYPOINT ["/docker-entrypoint.sh"]

EXPOSE 5678/tcp

Tag summary

Content type

Image

Digest

sha256:1c9db9f63…

Size

897.9 MB

Last updated

10 months ago

docker pull edp8489/neon8n:py312-nodejs24-n8n225