mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
fix nodered
This commit is contained in:
parent
e66421b70b
commit
cd283a2284
@ -8,8 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
|
|||||||
RUN apk add -U bash \
|
RUN apk add -U bash \
|
||||||
build-base \
|
build-base \
|
||||||
nodejs \
|
nodejs \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
&& npm install -g node-red node-red-admin \
|
&& npm install -g node-red node-red-admin \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
|
python-dev \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
VOLUME /root/.node-red
|
||||||
|
EXPOSE 1880
|
||||||
|
|
||||||
CMD ["node-red"]
|
CMD ["node-red"]
|
||||||
|
@ -8,8 +8,14 @@ MAINTAINER kev <noreply@datageek.info>
|
|||||||
RUN apk add -U bash \
|
RUN apk add -U bash \
|
||||||
build-base \
|
build-base \
|
||||||
nodejs \
|
nodejs \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
&& npm install -g node-red node-red-admin \
|
&& npm install -g node-red node-red-admin \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
|
python-dev \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
VOLUME /root/.node-red
|
||||||
|
EXPOSE 1880
|
||||||
|
|
||||||
CMD ["node-red"]
|
CMD ["node-red"]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
nodered:
|
node-red:
|
||||||
image: vimagick/nodered-arm
|
image: vimagick/nodered-arm
|
||||||
ports:
|
ports:
|
||||||
- "1880:1880"
|
- "1880:1880"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user