1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:31 +02:00
dockerfiles/node-red/arm/Dockerfile

24 lines
468 B
Docker
Raw Normal View History

2015-12-04 17:49:45 +08:00
#
2016-01-08 12:16:00 +08:00
# Dockerfile for node-red-arm
2015-12-04 17:49:45 +08:00
#
2016-01-08 13:14:11 +08:00
FROM vimagick/alpine-arm
2015-12-04 17:49:45 +08:00
MAINTAINER kev <noreply@datageek.info>
2016-01-08 14:26:58 +08:00
RUN set -xe \
&& apk add -U bash \
build-base \
nodejs \
python \
python-dev \
2015-12-04 17:49:45 +08:00
&& npm install -g node-red node-red-admin \
&& apk del build-base \
2015-12-04 17:56:19 +08:00
python-dev \
2015-12-04 17:49:45 +08:00
&& rm -rf /var/cache/apk/*
2015-12-18 00:06:44 +08:00
WORKDIR /root/.node-red
2015-12-04 17:56:19 +08:00
VOLUME /root/.node-red
EXPOSE 1880
2015-12-04 17:49:45 +08:00
CMD ["node-red"]