musarehmani100 commited on
Commit
29f4c77
1 Parent(s): 0d57a2e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -16,11 +16,13 @@ RUN set -eux; \
16
  find /usr/local/lib/node_modules/n8n -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" | xargs rm -f && \
17
  rm -rf /root/.npm
18
 
19
- COPY --chown=755 docker-entrypoint.sh /
20
 
21
  RUN \
22
- mkdir .n8n && \
23
- chown node:node .n8n
 
 
24
  ENV SHELL /bin/sh
25
  USER node
26
  ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
 
16
  find /usr/local/lib/node_modules/n8n -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" | xargs rm -f && \
17
  rm -rf /root/.npm
18
 
19
+ COPY docker-entrypoint.sh /docker-entrypoint.sh
20
 
21
  RUN \
22
+ chmod +x /docker-entrypoint.sh && \
23
+ mkdir .n8n && \
24
+ chown node:node .n8n
25
+
26
  ENV SHELL /bin/sh
27
  USER node
28
  ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]