docker-node-red/Dockerfile
James Andariese 21d844e7bd
Some checks failed
Build and push Docker container / build (push) Failing after 1m5s
initial import
2024-06-27 15:14:29 -05:00

23 lines
546 B
Docker

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