ZSCGR commited on
Commit
35074e5
·
verified ·
1 Parent(s): cabfb3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -52,6 +52,15 @@ RUN npm install -g [email protected]
52
  RUN mkdir -p $DATABASE_PATH $CONFIG_PATH $WORKFLOWS_PATH $LOGS_PATH \
53
  && chmod -R 777 $BASE_PATH
54
 
 
 
 
 
 
 
 
 
 
55
  # Set working directory
56
  WORKDIR /data
57
 
 
52
  RUN mkdir -p $DATABASE_PATH $CONFIG_PATH $WORKFLOWS_PATH $LOGS_PATH \
53
  && chmod -R 777 $BASE_PATH
54
 
55
+ COPY editor-ui.tar.gz /tmp/
56
+
57
+ RUN mkdir -p /tmp/check && \
58
+ tar -xzf /tmp/editor-ui.tar.gz -C /tmp/check && \
59
+ rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/* && \
60
+ cp -r /tmp/check/dist/* /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/ && \
61
+ rm -rf /tmp/check /tmp/editor-ui.tar.gz && \
62
+ chown -R node:node /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/
63
+
64
  # Set working directory
65
  WORKDIR /data
66