mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-30 09:16:41 +02:00
27 lines
555 B
Docker
27 lines
555 B
Docker
#
|
|
# Dockerfile for node-red
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.info>
|
|
|
|
RUN set -xe \
|
|
&& apk add --no-cache bash \
|
|
build-base \
|
|
nodejs-lts \
|
|
python \
|
|
python-dev \
|
|
&& npm install -g node-red \
|
|
node-red-admin \
|
|
node-red-dashboard \
|
|
&& apk del build-base \
|
|
python-dev \
|
|
&& rm -rf /tmp/npm-*
|
|
|
|
WORKDIR /root/.node-red
|
|
VOLUME /root/.node-red
|
|
|
|
EXPOSE 1880
|
|
|
|
CMD ["node-red"]
|