Skip to content

Commit

Permalink
Move public files into image
Browse files Browse the repository at this point in the history
  • Loading branch information
vergissberlin committed Nov 26, 2018
1 parent b1ed37d commit 3506d3d
Show file tree
Hide file tree
Showing 36 changed files with 1,243 additions and 29 deletions.
32 changes: 12 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
FROM nodered/node-red-docker
FROM nodered/node-red-docker:slim-v8

USER root

RUN apt-get update &&\
apt-get install -y \
curl \
git-core \
mc \
vim \
wget

USER node-red

RUN npm install \
node-red-contrib-slack \
node-red-dashboard \
node-red-node-mongodb \
node-red-node-feedparser \
node-red-node-xmpp
RUN apk update &&\
apk add \
curl \
g++ \
gcc \
git \
make \
python \
wget

COPY setup/ /

#COPY data/package.json /data/package.json
#COPY data/settings.js /data/settings.js
RUN chown -R 1001:1001 /data /usr/src/node-red
USER node-red
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ If you wanna use git to save your flows, you have to install _git_ and create a
#### Password generation

``node-red-admin hash-pw``
``docker-compose build --no-cache node-red``
1 change: 0 additions & 1 deletion config/node-red/data

This file was deleted.

1 change: 0 additions & 1 deletion config/node-red/mata

This file was deleted.

6 changes: 0 additions & 6 deletions config/node-red/package.json

This file was deleted.

1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: '3.2'

services:
node-red:
# build: .
image: nodered/node-red-docker
environment:
- ADMIN_USER
Expand Down

0 comments on commit 3506d3d

Please sign in to comment.