1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/node-red/Dockerfile
2016-01-08 14:26:58 +08:00

24 lines
451 B
Docker

#
# Dockerfile for node-red
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN set -xe \
&& apk add -U bash \
build-base \
nodejs \
python \
python-dev \
&& npm install -g node-red node-red-admin \
&& apk del build-base \
python-dev \
&& rm -rf /var/cache/apk/*
WORKDIR /root/.node-red
VOLUME /root/.node-red
EXPOSE 1880
CMD ["node-red"]