Files
n8n/docker/images/engine/Dockerfile
T
Declan Carroll 23f4cca822 build: Bump Node.js to 24.18.1 and 22.23.2 (#35516)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-04 14:15:22 +01:00

21 lines
461 B
Docker

ARG NODE_VERSION=24.18.1
FROM node:${NODE_VERSION}-alpine3.24
ENV NODE_ENV=production
RUN apk add --no-cache tini
WORKDIR /app
# `compiled/` is produced by `pnpm build:docker`. It's a `pnpm deploy --prod`
# output containing package.json, dist/, and a node_modules with only
# production dependencies — no devDeps, no workspace bloat.
COPY --chown=node:node ./compiled /app
USER node
EXPOSE 3000
ENTRYPOINT ["tini", "--"]
CMD ["node", "dist/serve.js"]