99i commited on
Commit
81ab206
·
verified ·
1 Parent(s): fa77f7f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile CHANGED
@@ -1,4 +1,15 @@
1
  # Use the original n8n image as the basis
2
  FROM docker.n8n.io/n8nio/n8n
 
 
 
 
 
 
 
 
 
 
 
3
  USER node
4
 
 
1
  # Use the original n8n image as the basis
2
  FROM docker.n8n.io/n8nio/n8n
3
+ USER root
4
+ COPY editor-ui.tar.gz /tmp/
5
+
6
+ RUN mkdir -p /tmp/check && \
7
+ tar -xzf /tmp/editor-ui.tar.gz -C /tmp/check && \
8
+ rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/* && \
9
+ cp -r /tmp/check/dist/* /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/ && \
10
+ rm -rf /tmp/check /tmp/editor-ui.tar.gz && \
11
+ chown -R node:node /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/
12
+ RUN apk --update add curl python3 ffmpeg py3-pip
13
+ RUN npm i -g lunar-javascript
14
  USER node
15