musarehmani100 commited on
Commit
687d000
1 Parent(s): 4a11d93

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,12 +1,13 @@
1
  ARG NODE_VERSION=18
2
  FROM n8nio/base:${NODE_VERSION}
3
 
4
- ARG N8N_VERSION
5
  RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
6
 
7
  ENV N8N_VERSION=${N8N_VERSION}
8
  ENV NODE_ENV=production
9
  ENV N8N_RELEASE_TYPE=stable
 
10
  RUN set -eux; \
11
  npm install -g --omit=dev n8n@${N8N_VERSION} --ignore-scripts && \
12
  npm rebuild --prefix=/usr/local/lib/node_modules/n8n sqlite3 && \
 
1
  ARG NODE_VERSION=18
2
  FROM n8nio/base:${NODE_VERSION}
3
 
4
+ ARG N8N_VERSION=1.39.0
5
  RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
6
 
7
  ENV N8N_VERSION=${N8N_VERSION}
8
  ENV NODE_ENV=production
9
  ENV N8N_RELEASE_TYPE=stable
10
+ ENV N8N_PORT= 7860
11
  RUN set -eux; \
12
  npm install -g --omit=dev n8n@${N8N_VERSION} --ignore-scripts && \
13
  npm rebuild --prefix=/usr/local/lib/node_modules/n8n sqlite3 && \