mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update node-red
This commit is contained in:
parent
b9c2519184
commit
47d26238fc
@ -6,18 +6,20 @@ FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
build-base \
|
||||
nodejs \
|
||||
python \
|
||||
python-dev \
|
||||
&& npm install -g node-red node-red-admin \
|
||||
&& apk add --no-cache 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/*
|
||||
&& rm -rf /tmp/npm-*
|
||||
|
||||
WORKDIR /root/.node-red
|
||||
VOLUME /root/.node-red
|
||||
|
||||
EXPOSE 1880
|
||||
|
||||
CMD ["node-red"]
|
||||
|
@ -2,22 +2,24 @@
|
||||
# Dockerfile for node-red-arm
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U bash \
|
||||
build-base \
|
||||
nodejs \
|
||||
python \
|
||||
python-dev \
|
||||
&& npm install -g node-red node-red-admin \
|
||||
&& apk add --no-cache 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/*
|
||||
&& rm -rf /tmp/npm-*
|
||||
|
||||
WORKDIR /root/.node-red
|
||||
VOLUME /root/.node-red
|
||||
|
||||
EXPOSE 1880
|
||||
|
||||
CMD ["node-red"]
|
||||
|
Loading…
Reference in New Issue
Block a user