1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-18 23:47:34 +02:00
dockerfiles/nodered/Dockerfile

22 lines
402 B
Docker
Raw Normal View History

2015-12-04 11:49:45 +02:00
#
# Dockerfile for nodered
#
FROM alpine:edge
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U bash \
build-base \
nodejs \
2015-12-04 11:56:19 +02:00
python \
python-dev \
2015-12-04 11:49:45 +02:00
&& npm install -g node-red node-red-admin \
&& apk del build-base \
2015-12-04 11:56:19 +02:00
python-dev \
2015-12-04 11:49:45 +02:00
&& rm -rf /var/cache/apk/*
2015-12-04 11:56:19 +02:00
VOLUME /root/.node-red
EXPOSE 1880
2015-12-04 11:49:45 +02:00
CMD ["node-red"]