mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +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 \
|
||||
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"]
|
||||
|
@ -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"]
|
||||
|
@ -1,4 +1,4 @@
|
||||
nodered:
|
||||
node-red:
|
||||
image: vimagick/nodered-arm
|
||||
ports:
|
||||
- "1880:1880"
|
||||
|
Loading…
Reference in New Issue
Block a user