fix(docker): Make the docker images backward compatible (#3987)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-08-31 19:34:30 +02:00
committed by GitHub
parent 0426253376
commit 346ebee584
2 changed files with 9 additions and 1 deletions

View File

@@ -29,6 +29,10 @@ RUN \
FROM n8nio/base:${NODE_VERSION}
COPY --from=builder /home/node ./
COPY docker/images/n8n-custom/docker-entrypoint.sh ./
RUN \
mkdir .n8n && \
chown node:node .n8n
USER node
ENV NODE_ENV=production
ENTRYPOINT ["tini", "--", "./docker-entrypoint.sh"]