This commit is contained in:
1 parent
6b122759c4
commit
297fab5eb8
1 file changed
+4
-2
+4
-2
@@ -22,9 +22,11 @@ USER root
|
|||||||
# it needs to build it correctly.
|
# it needs to build it correctly.
|
||||||
RUN N8N_VERSION=$(curl -s https://api.github.com/repos/n8n-io/n8n/releases/latest | jq -r '.tag_name' | sed 's/^v//') && \
|
RUN N8N_VERSION=$(curl -s https://api.github.com/repos/n8n-io/n8n/releases/latest | jq -r '.tag_name' | sed 's/^v//') && \
|
||||||
echo "Latest n8n version: ${N8N_VERSION}" && \
|
echo "Latest n8n version: ${N8N_VERSION}" && \
|
||||||
npm_config_user=root npm install -g ${N8N_VERSION} && \
|
npm_config_user=root npm install -g \
|
||||||
|
${N8N_VERSION} \
|
||||||
|
n8n-nodes-imap && \
|
||||||
apt-get clean all
|
apt-get clean all
|
||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
|
|
||||||
CMD ["n8n"]
|
CMD ["n8n"]
|
||||||
Reference in new issue
Block a user