Skip to content

Commit

Permalink
docker: rewamp Dockerfile
Browse files Browse the repository at this point in the history
- add stopsignal
- use predefined version of node-red/alpine linux
  • Loading branch information
claudyus committed Jul 12, 2018
1 parent 5383945 commit beb4df0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
FROM node:alpine

RUN apk update && apk add bash ca-certificates
RUN npm install -g node-red node-red-admin
FROM node:8-alpine

WORKDIR /app

RUN apk add --update bash ca-certificates
RUN npm install -g node-red@0.18.5

ADD . /app

VOLUME /app/config/

STOPSIGNAL SIGINT

CMD /app/start.sh

0 comments on commit beb4df0

Please sign in to comment.