1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

fix nodered

This commit is contained in:
kev 2015-12-04 17:56:19 +08:00
parent e66421b70b
commit cd283a2284
3 changed files with 13 additions and 1 deletions

View File

@ -8,8 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
RUN 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/*
VOLUME /root/.node-red
EXPOSE 1880
CMD ["node-red"]

View File

@ -8,8 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
RUN 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/*
VOLUME /root/.node-red
EXPOSE 1880
CMD ["node-red"]

View File

@ -1,4 +1,4 @@
nodered:
node-red:
image: vimagick/nodered-arm
ports:
- "1880:1880"