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:
parent
6da5e1411c
commit
6e8d68d589
node-red/arm
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user