Merge pull request #45 from tecno-consultores/develop

* dockerfile
This commit is contained in:
Jesús Palencia 2025-06-01 17:04:52 -04:00 committed by GitHub
commit 56f56cee0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

11
Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM n8nio/n8n:latest
ENV PATH="/bin:/usr/local/bin:/root/.local/bin:${PATH}"
USER root
RUN apk add --no-cache curl git build-base chromium bash tar xz util-linux coreutils
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN chmod a+rx /bin/uv /bin/uvx && mkdir -p /data/mcp && chown -R node:node /data/mcp
USER node
ENTRYPOINT ["tini", "--", "node", "/usr/local/bin/n8n"]