1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-03-29 21:46:53 +02:00

node-red-arm support gpio

This commit is contained in:
kev 2016-08-19 17:49:41 +08:00
parent 6da5e1411c
commit 6e8d68d589
2 changed files with 5 additions and 0 deletions

@ -7,10 +7,14 @@ MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache bash \
curl \
build-base \
nodejs \
python \
python-dev \
sudo \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& pip install rpi.gpio \
&& npm install -g node-red \
node-red-admin \
&& apk del build-base \

@ -4,4 +4,5 @@ node-red:
- "1880:1880"
volumes:
- ./data:/root/.node-red
privileged: yes
restart: always