1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/node-red/Dockerfile
2016-08-23 09:03:49 +08:00

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"]