n8n/docker/images/n8n-base/Dockerfile
कारतोफ्फेलस्क्रिप्ट™ d60a815a44
ci: Use a fixed version of NPM in the release process (no-changelog) (#4975)
ci: Use a fixed version of NPM in the release process
2022-12-21 09:52:10 -06:00

21 lines
609 B
Docker

ARG NODE_VERSION=16
FROM node:${NODE_VERSION}-alpine
WORKDIR /home/node
COPY .npmrc /usr/local/etc/npmrc
RUN \
apk add --update git graphicsmagick tini tzdata ca-certificates && \
npm install -g npm@8.19.2 full-icu && \
rm -rf /var/cache/apk/* /root/.npm /tmp/* && \
# Install fonts
apk --no-cache add --virtual fonts msttcorefonts-installer fontconfig && \
update-ms-fonts && \
fc-cache -f && \
apk del fonts && \
find /usr/share/fonts/truetype/msttcorefonts/ -type l -exec unlink {} \; && \
rm -rf /var/cache/apk/* /tmp/*
ENV NODE_ICU_DATA /usr/local/lib/node_modules/full-icu
EXPOSE 5678/tcp