docker-node-red/Dockerfile

23 lines
546 B
Docker
Raw Permalink Normal View History

2024-06-27 20:12:29 +00:00
ARG NODE_RED_VERSION=latest
FROM nodered/node-red:${NODE_RED_VERSION}
USER root
# Tell Puppeteer to skip installing Chrome. We'll be using the installed package.
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
RUN set -x \
&& apk update \
&& apk upgrade \
&& apk add --no-cache \
ttf-freefont \
chromium \
# Cleanup
&& apk del --no-cache make gcc g++ binutils-gold gnupg libstdc++ \
&& rm -rf /usr/include \
&& rm -rf /var/cache/apk/* /root/.node-gyp /usr/share/man /tmp/* \
&& echo
USER 1000