mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix: Use the same entrypoint for custom docker images as for the other images (no-changelog) (#4849)
* ci: Use the same entrypoint for custom docker images as for the other images * update docker-compose examples to use the correct volume paths to work with custom images
This commit is contained in:
committed by
GitHub
parent
fbb8611ae2
commit
6d5ea0634c
@@ -22,11 +22,11 @@ RUN rm -rf patches .npmrc *.yaml node_modules/.cache packages/**/node_modules/.c
|
||||
# 2. Start with a new clean image with just the code that is needed to run n8n
|
||||
FROM n8nio/base:${NODE_VERSION}
|
||||
COPY --from=builder /home/node ./
|
||||
COPY docker/images/n8n-custom/docker-entrypoint.sh ./
|
||||
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"]
|
||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user