Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-check-new-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Fetch release version
id: fetch-version
run: |
curl -sL https://raw.githubusercontent.com/n8n-io/n8n/master/package.json | jq -r ".version" > release-versions/n8n-latest.txt
curl -s https://api.github.com/repos/n8n-io/n8n/releases/latest | jq -r '.tag_name' | cut -d'@' -f2 > release-versions/n8n-latest.txt
echo ::set-output name=version::$(cat release-versions/n8n-latest.txt)

# - name: Check for modified files
Expand Down
2 changes: 1 addition & 1 deletion images/n8n-debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ USER root
RUN npm_config_user=root npm install -g full-icu n8n@${N8N_VERSION}

# Install n8n-nodes-python module
RUN cd /usr/lib/node_modules/n8n && npm install n8n-nodes-python
RUN npm install n8n-nodes-python --prefix /home/node/custom/.n8n/nodes/ && mkdir /home/node/.n8n

ENV NODE_ICU_DATA /usr/lib/node_modules/full-icu

Expand Down
5 changes: 2 additions & 3 deletions images/n8n-debian/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ For information about how to run n8n with Docker check the generic


```
docker build --build-arg N8N_VERSION=<VERSION> -t n8nio/n8n:<VERSION> .

# For example:
docker build --build-arg N8N_VERSION=0.43.0 -t n8nio/n8n:0.43.0-debian .
docker build --build-arg N8N_VERSION=1.37.3 -t n8nio/n8n:1.37.3-debian .
```

```
docker run -it --rm \
--name n8n \
-p 5678:5678 \
n8nio/n8n:0.43.0-debian
n8nio/n8n:1.37.3-debian
```
10 changes: 6 additions & 4 deletions images/n8n-debian/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/sh

if [ -d /root/.n8n ] ; then
chmod o+rx /root
chown -R node /root/.n8n
ln -s /root/.n8n /home/node/
if [ -d /home/node/custom/.n8n/nodes/ ] ; then
chmod o+rx /home/node/custom
chown -R node /home/node/custom/.n8n/
ln -s /home/node/custom/.n8n/nodes/ /home/node/.n8n/
fi

chown -R node /home/node

if [ "$#" -gt 0 ]; then
# Got started with arguments
exec gosu node "$@"
Expand Down
5 changes: 5 additions & 0 deletions images/n8n-debian/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
openai==1.8.0
langchain==0.1.1
langchain-openai==0.0.2.post1
langchain-community===0.0.15
fire