Create Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM n8nio/n8n:latest
|
| 2 |
+
|
| 3 |
+
USER root
|
| 4 |
+
|
| 5 |
+
COPY editor-ui.tar.gz /tmp/
|
| 6 |
+
|
| 7 |
+
RUN mkdir -p /tmp/check && \
|
| 8 |
+
tar -xzf /tmp/editor-ui.tar.gz -C /tmp/check && \
|
| 9 |
+
rm -rf /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/* && \
|
| 10 |
+
cp -r /tmp/check/dist/* /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/ && \
|
| 11 |
+
rm -rf /tmp/check /tmp/editor-ui.tar.gz && \
|
| 12 |
+
chown -R node:node /usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist/
|
| 13 |
+
|
| 14 |
+
USER node
|
| 15 |
+
|
| 16 |
+
EXPOSE 7860
|